use of com.marshalchen.common.uimodule.freeflow.core.FreeFlowContainer.OnScrollListener in project UltimateAndroid by cymcsg.
the class FreeFlowArtbookActivity method onDataLoaded.
public void onDataLoaded(DribbbleFeed feed) {
Log.d(TAG, "photo: " + feed.getShots().get(0).getImage_teaser_url());
adapter.update(feed);
container.dataInvalidated();
container.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AbsLayoutContainer parent, FreeFlowItem proxy) {
}
});
container.addScrollListener(new OnScrollListener() {
@Override
public void onScroll(FreeFlowContainer container) {
Log.d(TAG, "scroll percent " + container.getScrollPercentY());
}
});
}
Aggregations