Search code examples
androidtwittertwitter-fabrictwitter-search

How to catch TwitterApiException when there is a time out in SearchTimeline request?(Android)


I'm implementing a SearchTimeline in android using the TwitterUI kit, Its working fine except I couldn't find a way to handle Timeout error or no connection error thrown when loading more tweets. Any idea how to handle these exceptions?


Solution

  • Searching in TimelineDelegate.java, you can see there is no CallBack set with PreviousCallback.
    Unfortunately...

    Maybe you could clone their git and modify this.