1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-16 22:45:04 -05:00

Added a comment

This commit is contained in:
cketti 2011-02-20 19:02:42 +01:00
parent cc0b935b38
commit 5f0e51caa9

View File

@ -566,6 +566,7 @@ public class MessageList
@Override @Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
// Use mListView.getAdapter() to get the WrapperListAdapter that includes the footer view.
if (mCurrentFolder != null && ((position + 1) == mListView.getAdapter().getCount())) { if (mCurrentFolder != null && ((position + 1) == mListView.getAdapter().getCount())) {
mController.loadMoreMessages(mAccount, mFolderName, mAdapter.mListener); mController.loadMoreMessages(mAccount, mFolderName, mAdapter.mListener);
return; return;