适用于Android的Twitter工具包:在嵌入式推文中显示回复,收藏和转发选项

时间:2016-01-14 13:20:47

标签: android twitter twitter-fabric

我正在使用fabric android sdk通过使用此doc中指定的TweetViewFetchAdapter在我们的应用中显示用户时间线:

[Twitter timeline]

https://dev.twitter.com/twitter-kit/android/tweetui

[Twitter feed]

enter image description here

但它没有显示回复,收藏,转推等选项。有没有办法通过使用TweetUi Kit提供这些选项?任何帮助,将不胜感激。感谢

1 个答案:

答案 0 :(得分:0)

使用以下代码行添加自定义样式,并在styles.xml中将 tw__tweet_actions_enabled 设为true,并使用以下方法在TweetTimelineListAdapter类对象中使用自定义样式:

setViewStyle(R.style.custom_tweet_style)

相关问题