@Override
    public void onClick(View v) {
        int id = v.getId();
        switch (id) {
            case R.id.inside_bs_btn:
                showFragment();
                break;
            case R.id.media_result:
                if (mMedia == null) {
                    return;
                }
                ArrayList<BaseMedia> medias = new ArrayList<>(1);
                medias.add(mMedia);
                Boxing.get().withIntent(this, BoxingViewActivity.class, medias).start(this, BoxingConfig.ViewMode.PREVIEW);
                break;
            default:
                break;
        }
    }
to show use {@link AbsBoxingViewFragment} without {@link AbsBoxingActivity}.
use {@link Boxing#setupFragment(AbsBoxingViewFragment, Boxing.OnBoxingFinishListener)} to set a fragment.

@author ChenSL
app/src/main/java/com/bilibili/boxing/ui/SecondActivity.java