I am using TwitterKit for Android to show tweets inside my app. Works well, but for some reason it is not showing number of retweets and likes below each tweet.
Here is my code:
SearchTimeline searchTimeline = getTimeline("#somehashtag", "en");
tweetAdapter = new TweetTimelineRecyclerViewAdapter.Builder(getActivity())
.setTimeline(searchTimeline)
.setViewStyle(R.style.tw__TweetDarkStyleNonTransparent)
.build();
mTweetsRecycler.setAdapter(tweetAdapter);
And here is the style:
<style name="tw__TweetDarkStyleNonTransparent">
<item name="tw__container_bg_color">#303030</item>
<item name="tw__primary_text_color">#e1ffffff</item>
<item name="tw__action_color">#55acee</item>
<item name="tw__action_highlight_color">#667580</item>
<item name="tw__tweet_actions_enabled">true</item>
</style>
The above style is my custom style, based on official style. Style is working but retweet count and likes are still not showing.
What am I missing?
from Android TwitterKit not showing retweets and likes
No comments:
Post a Comment