Skip to content

Commit

Permalink
fix test activities to allow build on jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
mtotschnig committed Mar 24, 2017
1 parent 7c5d2e8 commit 4182d8f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ public void onHeaderClick(StickyListHeadersListView l, View header, int itemPosi
mListView.collapse(headerId);
}
}

@Override
public boolean onHeaderLongClick(StickyListHeadersListView l, View header, int itemPosition, long headerId, boolean currentlySticky) {
return false;
}
});
}
//animation executor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ public void onHeaderClick(StickyListHeadersListView l, View header, int itemPosi
Toast.makeText(this, "Header " + headerId + " currentlySticky ? " + currentlySticky, Toast.LENGTH_SHORT).show();
}

@Override
public boolean onHeaderLongClick(StickyListHeadersListView l, View header, int itemPosition, long headerId, boolean currentlySticky) {
return false;
}

@Override
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
public void onStickyHeaderOffsetChanged(StickyListHeadersListView l, View header, int offset) {
Expand Down

0 comments on commit 4182d8f

Please sign in to comment.