I am attempting to switch from a GeodatabaseFeatureTable.queryFeatures(...) to .queryRelated method as I thought it would increase performance. However, I cannot seem to work with the Future<> result in the same way. I have followed the API documentation exactly but I get a compile error with the sample code. So unless I am missing something there seems to be an issue with the documentation. Any other attempts to work with the FeatureResult have not worked.
Here is a picture of what I'm seeing when I use the sample provided in the API documentation:
As far as I can tell everything is in order with both methods.
I am using the 10.2.9 Runtime Library.
As a side note the reason I am needing to change original implementation of my table query was a strange error that was only occurring occasionally when running multiple table queries on an asyc task. The error was:
A/libc: Fatal signal 11 (SIGSEGV) at 0x00b52a0b (code=1), thread 23436
Thanks,