Search in sources :

Example 1 with GuidedStepFragment

use of android.support.v17.leanback.app.GuidedStepFragment in project ring-client-android by savoirfairelinux.

the class MainFragment method showExportDialog.

@Override
public void showExportDialog(String pAccountID) {
    GuidedStepFragment wizard = TVAccountExport.createInstance(pAccountID);
    GuidedStepFragment.add(getFragmentManager(), wizard, R.id.main_browse_fragment);
}
Also used : GuidedStepFragment(android.support.v17.leanback.app.GuidedStepFragment)

Example 2 with GuidedStepFragment

use of android.support.v17.leanback.app.GuidedStepFragment in project ring-client-android by savoirfairelinux.

the class TVProfileCreationFragment method goToNext.

@Override
public void goToNext(RingAccountViewModel ringAccountViewModel) {
    GuidedStepFragment next;
    if (ringAccountViewModel.isLink()) {
        next = TVRingLinkAccountFragment.newInstance((RingAccountViewModelImpl) ringAccountViewModel);
    } else {
        next = TVRingAccountCreationFragment.newInstance((RingAccountViewModelImpl) ringAccountViewModel);
    }
    GuidedStepFragment.add(getFragmentManager(), next);
}
Also used : GuidedStepFragment(android.support.v17.leanback.app.GuidedStepFragment) RingAccountViewModelImpl(cx.ring.account.RingAccountViewModelImpl)

Aggregations

GuidedStepFragment (android.support.v17.leanback.app.GuidedStepFragment)2 RingAccountViewModelImpl (cx.ring.account.RingAccountViewModelImpl)1