use of com.cjsoftware.library.ucs.CoordinatorBinder in project ucsFramework by cjsoftware-lib.
the class AbstractUiActivity method onAfterStateRestored.
@Override
protected void onAfterStateRestored() {
super.onAfterStateRestored();
CoordinatorBinder coordinatorBinder = mContractBroker.getCoordinatorBinder();
coordinatorBinder.bindUi(this);
coordinatorBinder.bindScreenNavigation(this);
setUserNavigationRequestListener(mUserNavigationRequestListener);
}
use of com.cjsoftware.library.ucs.CoordinatorBinder in project ucsFramework by cjsoftware-lib.
the class TestUcsTestAppCoordinator method setup.
@Before
public void setup() {
mMockUi = mock(Ui.class);
mMockScreenNavigation = mock(ScreenNavigation.class);
mMockStatemanager = mock(StateManager.class);
mCoordinator = new UcsActivityCoordinator();
((CoordinatorBinder) mCoordinator).bindUi(mMockUi);
((CoordinatorBinder) mCoordinator).bindScreenNavigation(mMockScreenNavigation);
((CoordinatorBinder) mCoordinator).bindStateManager(mMockStatemanager);
}
Aggregations