Esempio n. 1
0
  @Override
  public void onResume() {
    super.onResume();

    int scrollY = mScrollView.getScrollY(); // for verticalScrollView
    mListener.onScrollY(scrollY, 0, mFragmentId);
  }
Esempio n. 2
0
 @Override
 public void onDetach() {
   super.onDetach();
   mListener = null;
 }
Esempio n. 3
0
 @Override
 public void onAttach(Activity activity) {
   super.onAttach(activity);
   mListener = (OnScrollListener) activity;
 }