Example #1
0
 private void setOnRiseListener() {
   try {
     getView().setOnTouchListener(fragmentsTouchListener.createListener(getView()));
     MainActivity.setFrameIniPosition(getView().getY());
     checkScrollable();
     getView().invalidate();
   } catch (Exception e) {
     e.printStackTrace();
     Log.i(FRAGMENT_NUM, "could not make touch listener for some reason!");
   }
 }
Example #2
0
 private void createInstances() {
   fragmentsTouchListener = MainActivity.getTouchInstance();
 }