Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix exception on initial display of tweets

  • Loading branch information...
commit ca2282fe40af05a96e4f17287496295eeb3f1ac8 1 parent dfea230
@pilhuhn authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/de/bsd/zwitscher/TweetListActivity.java
View
3  src/de/bsd/zwitscher/TweetListActivity.java
@@ -249,6 +249,9 @@ else if (directs!=null) {
myStatuses = th.getUserList(paging,listId, fromDbOnly, unreadCount);
if (unreadCount>-1) {
List<Status> list = myStatuses.getList();
+ if (list.size()<=unreadCount)
+ unreadCount = list.size()-1;
+ if (unreadCount > -1)
last = list.get(unreadCount).getId();
}
Please sign in to comment.
Something went wrong with that request. Please try again.