Search in sources :

Example 1 with OnBoardingHintFragment

use of com.waz.zclient.pages.main.onboarding.OnBoardingHintFragment in project wire-android by wireapp.

the class MainPhoneFragment method onStart.

@Override
public void onStart() {
    super.onStart();
    getStoreFactory().getInAppNotificationStore().addInAppNotificationObserver(this);
    getControllerFactory().getSingleImageController().addSingleImageObserver(this);
    getControllerFactory().getOnboardingController().addOnboardingControllerObserver(this);
    getControllerFactory().getGiphyController().addObserver(this);
    getControllerFactory().getConfirmationController().addConfirmationObserver(this);
    getControllerFactory().getAccentColorController().addAccentColorObserver(this);
    getCollectionController().addObserver(this);
    getControllerFactory().getAccentColorController().addAccentColorObserver(backgroundLayout);
    getControllerFactory().getBackgroundController().addBackgroundObserver(backgroundLayout);
    OnBoardingHintFragment fragment = (OnBoardingHintFragment) getChildFragmentManager().findFragmentByTag(OnBoardingHintFragment.TAG);
    if (fragment != null) {
        getControllerFactory().getOnboardingController().setCurrentHintType(fragment.getOnBoardingHintType());
    }
}
Also used : OnBoardingHintFragment(com.waz.zclient.pages.main.onboarding.OnBoardingHintFragment)

Aggregations

OnBoardingHintFragment (com.waz.zclient.pages.main.onboarding.OnBoardingHintFragment)1