I think you misunderstood the purpose of actionCallback. From the TweetTimelineListAdapter source code, you can see that this callback is for actions in the tweet view, i.e. When you click on your favorite icon, for example. I have a test with a favorite icon and the calling call is being called.
Take a look at this comment in the getView method of the source code.
The callback is not intended to handle a screen name that does not exist, and indeed the action / button of a specific tweet.
Hope this helps.
UPDATED: you do not need to detect any erros in UserTimeLine, since the builder does not throw any exceptions and the adapter will be empty, without any lines / views displayed on the screen. But if you still need to find some “error” in the download, you will have to rely on the “next” UserTimeLine method.
Take a look
userTimeline.next(null, new Callback<TimelineResult<Tweet>>() { @Override public void success(Result<TimelineResult<Tweet>> result) { } @Override public void failure(TwitterException exception) { Log.d("TAG",exception.getMessage()); } });
This method shows the next tweet to the user, if the callback is refused, you know for sure that this user does not have a tweet or the user does not exist.
Cristiano andaló tenuta
source share