implemented load more for direct messages

This commit is contained in:
Mariotaku Lee 2015-03-15 22:48:25 +08:00
parent 11dbc7eb7c
commit 4e9b67901c
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ public class DirectMessagesFragment extends BaseSupportFragment implements Loade
if (getActivity() == null) return;
mFirstVisibleItem = -1;
mAdapter.setCursor(cursor);
mAdapter.setLoadMoreIndicatorEnabled(cursor != null && cursor.getCount() > 0);
// mAdapter.setShowAccountColor(getActivatedAccountIds(getActivity()).length > 1);
setListShown(true);
}