@Test(expected = UnsupportedOperationException.class) public void testNoTouchOverride() { button.setOnTouchListener(mock(View.OnTouchListener.class)); }
@Override public void setOnTouchListener(OnTouchListener l) { throw new UnsupportedOperationException(); }
NavFloatingActionButton extends FloatingActionButton implements ViewTreeObserver.OnGlobalLayoutListener { @Override public void setOnTouchListener(OnTouchListener l) { throw new UnsupportedOperationException(); } }
NavFloatingActionButton extends FloatingActionButton implements ViewTreeObserver.OnGlobalLayoutListener { @Override public void setOnTouchListener(OnTouchListener l) { throw new UnsupportedOperationException(); } NavFloatingActionButton(Context context);  NavFloatingActionButton(Context context, AttributeSet attrs);  NavFloatingActionButton(Context context, AttributeSet attrs, int defStyleAttr); }
NavFloatingActionButton extends FloatingActionButton implements ViewTreeObserver.OnGlobalLayoutListener { @Override public void setOnTouchListener(OnTouchListener l) { throw new UnsupportedOperationException(); } NavFloatingActionButton(Context context);  NavFloatingActionButton(Context context, AttributeSet attrs);  NavFloatingActionButton(Context context, AttributeSet attrs, int defStyleAttr); static void resetPosition(Context context); @Override void setOnTouchListener(OnTouchListener l); void setNavigable(Navigable navigable); @Override void onGlobalLayout(); }
NavFloatingActionButton extends FloatingActionButton implements ViewTreeObserver.OnGlobalLayoutListener { @Override public void setOnTouchListener(OnTouchListener l) { throw new UnsupportedOperationException(); } NavFloatingActionButton(Context context);  NavFloatingActionButton(Context context, AttributeSet attrs);  NavFloatingActionButton(Context context, AttributeSet attrs, int defStyleAttr); static void resetPosition(Context context); @Override void setOnTouchListener(OnTouchListener l); void setNavigable(Navigable navigable); @Override void onGlobalLayout();  }