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,11 +587,8 @@ 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));
|
||||
}
|
||||
}
|
||||
|
||||
final String sessionId = m_activity.getSessionId();
|
||||
final boolean isCat = m_feed.is_cat;
|
||||
|
Loading…
Reference in New Issue
Block a user