use of com.bluelinelabs.conductor.util.ActivityProxy in project Conductor by bluelinelabs.
the class RouterChangeHandlerTests method setup.
@Before
public void setup() {
ActivityProxy activityProxy = new ActivityProxy().create(null).start().resume();
router = Conductor.attachRouter(activityProxy.getActivity(), activityProxy.getView(), null);
}
use of com.bluelinelabs.conductor.util.ActivityProxy in project Conductor by bluelinelabs.
the class TargetControllerTests method createActivityController.
public void createActivityController(Bundle savedInstanceState) {
ActivityProxy activityProxy = new ActivityProxy().create(savedInstanceState).start().resume();
router = Conductor.attachRouter(activityProxy.getActivity(), activityProxy.getView(), savedInstanceState);
if (!router.hasRootController()) {
router.setRoot(RouterTransaction.with(new TestController()));
}
}
use of com.bluelinelabs.conductor.util.ActivityProxy in project Conductor by bluelinelabs.
the class ViewAttachHandlerTests method setup.
@Before
public void setup() {
activity = new ActivityProxy().create(null).getActivity();
viewAttachListener = new CountingViewAttachListener();
viewAttachHandler = new ViewAttachHandler(viewAttachListener);
}
use of com.bluelinelabs.conductor.util.ActivityProxy in project Conductor by bluelinelabs.
the class RouterTests method setup.
@Before
public void setup() {
ActivityProxy activityProxy = new ActivityProxy().create(null).start().resume();
router = Conductor.attachRouter(activityProxy.getActivity(), activityProxy.getView(), null);
}
Aggregations