Hi
I want to return only few Attribute fields of the feature instead of All the fields as it makes the query slower. In Android SDk 10.xyz there was a way to limit the outfields by
Query query <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">Query</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
query<SPAN class="punctuation token">.</SPAN><SPAN class="token function">setOutFields</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">String</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="punctuation token">]</SPAN> <SPAN class="punctuation token">{</SPAN><SPAN class="string token">"Filed1"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"Field2"</SPAN><SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN></SPAN>In 100.x the
QueryParameters <SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
has no such method as setOutfields. how can I do this please !!
Thanks