app/src/main/java/com/stoneium/onepagesample/MainActivity.java
/***
     * Create the main activity.
     *
     * @param savedInstanceState Not used.
     */
Create the main activity.
@param savedInstanceState Not used.
Create the main activity . @param savedInstanceState Not used .
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Window window = getWindow();
        window.setStatusBarColor(getResources().getColor(R.color.colorPrimary));
        Injector injector = OnePageSampleApplication.getInjector();
        _logger = injector.getLogger();
        injector.setMasterView(this);
    }
@ Override protected void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( R . layout . activity_main ) ; Window window = getWindow ( ) ; window . setStatusBarColor ( getResources ( ) . getColor ( R . color . colorPrimary ) ) ; Injector injector = OnePageSampleApplication . getInjector ( ) ; _logger = injector . getLogger ( ) ; injector . setMasterView ( this ) ; }
Create the main activity.
Create the main activity .
// Inject members.