no need to check if loading footer present on refresh because we remove all of them anyway
This commit is contained in:
parent
27118b9583
commit
46d283980f
@ -587,10 +587,7 @@ public class HeadlinesFragment extends Fragment {
|
||||
m_articles.clear();
|
||||
m_adapter.notifyDataSetChanged();
|
||||
} else {
|
||||
// TODO: should check footer presence by id?
|
||||
if (m_adapter.getFooterCount() == 0) {
|
||||
m_adapter.addFooterView(createListFooter(R.layout.headlines_row_loadmore));
|
||||
}
|
||||
m_adapter.addFooterView(createListFooter(R.layout.headlines_row_loadmore));
|
||||
}
|
||||
|
||||
final String sessionId = m_activity.getSessionId();
|
||||
|
Loading…
Reference in New Issue
Block a user