AnsweredAssumed Answered

How do I know whether one shapeFileFeatureTable was empty?

Question asked by ZJArcgisUsername on Jul 25, 2018
Latest reply on Jul 25, 2018 by ZJArcgisUsername

Developing with 10.2.9 SDK,

code like 

ShapeFileFeatureTable.getNumberOfFeatures() > 0




featureTable.queryFeatures(new QueryParameters(), new CallbackListener<FeatureResult>())

would got a wrong result,mostly made an ANR error on the decvice.



I can see the table of one shapeFile in the ArcMap directly,but I want to know if the shapeFile is empty on android device.


Is there any better ways to check it?