[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request #15 from beaucollins/issue-14
Browse files Browse the repository at this point in the history
Only hide footer if there's an instance
  • Loading branch information
roundhill committed Jun 11, 2013
2 parents 0d82ef1 + df86999 commit 1152a0e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ public void addAll(List<Note> notes){
if (notes.size() == 0) {
// No more notes available
mAllNotesLoaded = true;
mProgressFooterView.setVisibility(View.GONE);
if(mProgressFooterView != null)
mProgressFooterView.setVisibility(View.GONE);
} else {
Iterator<Note> noteIterator = notes.iterator();
while(noteIterator.hasNext()){
Expand Down

0 comments on commit 1152a0e

Please sign in to comment.