예제 #1
0
  @Override
  public void onResume() {
    super.onResume();

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