1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2024-12-18 19:43:35 +01:00

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

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);
}