[Android] Favcount is always 0


#1

Hello
I use TimeLineAdapter to show searches and user timelines. The count of favorites always return 0. To show home timeline I use REST API. In this case retweet and favs counts return correct number. But if I use REST API to show one tweet, favcount is 0. Why? It is a bug that will be corrected soon?

This code return favcount 0

   StatusesService statusesService = TwitterCore.getInstance().getApiClient().getStatusesService();
        statusesService.show(getItem(position).getId(), null, null, null, new Callback<Tweet>() {
            @Override
            public void success(Result<Tweet> result) {
                txtfav.setText(String.valueOf(result.data.favoriteCount));
            }

            public void failure(TwitterException exception) {
                //Do something on failure
            }
        });

This code return correct favcount

   StatusesService statusesService = twitterApiClient.getStatusesService();
    statusesService.homeTimeline(20, null, null, null, false, false, false, new Callback<List<Tweet>>() {

                @Override
                public void success(Result<List<Tweet>> searchResult) {
                       txtfav.setText(String.valueOf(searchResult.data.favoriteCount));
                }


                @Override
                public void failure(TwitterException error) {
                }
            }
    );

Regards


#2