VK API Android How to get information about the other user id?

I manage to get the list of required fields for friends via
VKApi.friends().get(VKParameters.from(VKApiConst.FIELDS,"id,first_name,last_name,photo_100,photo_max_orig,online,status"));


Documentation for vk api the list of available fields in the query friends().get() is limited, and I need to withdraw from each other, for example, the number of his friends.
I'm trying to do this in the following way:
VKRequest request = VKApi.users().get(VKParameters.from(VKid,VKApiConst.FIELDS,"counters"));
request.executeWithListener(new VKRequest.VKRequestListener() {
@Override
 public void onComplete(VKResponse response) {
super.onComplete(response);
 VKList list = (VKList) response.parsedModel;
 String s = list.get(0).fields.toString();
}
 });

but the debugger shows that the list contains only one entry, and the string s contains information about me(ie on the current current user).

The documentation described in users().get() can pass user IDs, and if not, by default, returns information about the current user. The ID of the friend that I pass, is initialized correctly.

Maybe I give wrong id I'm interested in user in users().get(), or I misunderstand the true purpose of this method.
I also cannot find examples of using users().get() as I need.

I would like to see a working example that implements my request.
July 2nd 19 at 14:00
2 answers
July 2nd 19 at 14:02
Solution
Maybe I give wrong id I'm interested in user in users().get()

And where the actual user_ids in your code ?
users.get
variable VKid, it contains the id of each user. If I pass not there, then please explain where necessary. - ricky_Beer commented on July 2nd 19 at 14:05
in VKParameters.from( ... passed parameters, now you send only the fields with a value of counters you have to overeat parameter, user_ids, just paste it in from
VKParameters.from(VKid,VKApiConst.FIELDS,"counters",
"user_ids", 210700286
)

PS in the sdk is in my opinion is the constant user_ids but you can use such record, the sdk is just a wrapper for the API - xavier.Breitenberg21 commented on July 2nd 19 at 14:08
: Many thanks, it worked! Does not come to me at once that need access to the values of any parameters to pass constants. Know about wrap, but would like to do it through API. - ricky_Beer commented on July 2nd 19 at 14:11
July 2nd 19 at 14:04
To see a working example any request is you want a lot, learn to work with the documentation and learn how to debug, VK SDK for Android it's just a "wrapper" for the average VK API running over HTTP (with the exception of the procedure for obtaining a token which is android simplified) , hence use also the documentation for the API, and use the sniffer and source code "wrapper" for debugging and understanding what is there and where it is parsed.

Find more questions by tags AndroidVKontakte