use of com.zhuinden.simplestackextensions.services.DefaultServiceProvider in project simple-stack by Zhuinden.
the class MainActivity method onCreate.
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
fragmentStateChanger = new DefaultFragmentStateChanger(getSupportFragmentManager(), R.id.container);
Navigator.configure().setStateChanger(new SimpleStateChanger(this)).setScopedServices(new DefaultServiceProvider()).install(this, findViewById(R.id.container), History.of(WordListKey.create()));
}
Aggregations