예제 #1
0
 @Override
 public SwipeBackLayout getSwipeBackLayout() {
   return mHelper.getSwipeBackLayout();
 }
예제 #2
0
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   mHelper.onPostCreate();
 }
예제 #3
0
 @Override
 public View findViewById(int id) {
   View v = super.findViewById(id);
   if (v == null && mHelper != null) return mHelper.findViewById(id);
   return v;
 }
예제 #4
0
 private void initSwipeBack() {
   mHelper = new SwipeBackActivityHelper(this);
   mHelper.onActivityCreate();
   getSwipeBackLayout().setEdgeTrackingEnabled(SwipeBackLayout.EDGE_LEFT);
   getSwipeBackLayout().setEdgeSize(100);
 }