Separate FloatingActionButton Logic in another class
<p>I want to split my floatingactionbutton logic (Code part) in another class.<br>
Which is the proper way to do it?<br>
Will I get some performance issues separating it?<br>
I am using Butterknife. How to do it with Butterknife?</p>

<pre><code>  public class MainActivity extends AppCompatActivity {

        private boolean fabClicked = false;
        @BindView(R.id.fab_one) FloatingActionButton fabOne;
        @BindView(R.id.fab_two) FloatingActionButton fabTwo;

        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_main);

            ButterKnife.bind(this);
        }

        @Optional
        @OnClick({R.id.fab_one, R.id.fab_two})
        public void doSomething(View view) {
            switch (view.getId()) {
                case R.id.fab_one:
                    //
                    break;
                case R.id.fab_two:
                    //
                    break;
                default:
                    break;
            }
        }

        public boolean getFabMenuClicked() {
            return fabMenuClicked;
        }
    }
</code></pre>