示例#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;
 }