Twitter timeline Recyclerview support

android

#1

hello,
we are adding TwitterTimeline feed using TweetUi in our android app. There is a reference of using TweetTimelineListAdapter to show the Ui. Do we have support for RecyclerView instead of Listview?
Please let us know.


#2

Hey @deeptis,

Currently we don’t have built in support for the RecyclerView. However, you could build a RecyclerView.Adapter that delegates to TimelineDelegate similar to TimelineListAdapter.

-Mike


#3

@bonnell TimelineDelegate has a package access. How to build a RecyclerView.Adapter that delegates to TimelineDelegate?


#4

Hey @popiv_yuri,

Unfortunately, due to the acquisition of Fabric from Google, I’m no longer able to help on Twitter specific questions.


#5

@bonnell but you sad to add Twitter timeline to the RecyclerView I could build a RecyclerView.Adapter that delegates to TimelineDelegate. But how to do this? How to use Delegate if it has only package access and is unavailable in my project.


#6

Hello,
Support for RecyclerView has arrived, please upgrade to Twitter Kit 3.1.0

Usage example: https://dev.twitter.com/twitterkit/android/show-timelines

regards,
Adam