private void createToolbar() {
        Toolbar bar = (Toolbar) findViewById(R.id.nav_top_bar);
        setSupportActionBar(bar);
        getSupportActionBar().setTitle(R.string.first_demo_title);
        bar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
    }
A demo to show how to use {@link AbsBoxingActivity} and all the functions.

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