intent, Bundle savedInstanceState, TripListContract.ILifecycle activity) { LayoutInflater layoutInflater = LayoutInflater.from(context); RKWebClient webClient = new RKWebClient(context); TripManager tripManager = TripManager.openTripManager(context); TripListContract.IModel model = new TripListModel(); TripHistoryAdapter adapter = new TripHistoryAdapter(model); TripListContract.IView view = new TripListView(layoutInflater, context); view.attachNewAdapter(adapter); return new TripListPresenter(view, activity, model, webClient, tripManager); } } Presenter Factory Create all dependencies Return a new presenter, injecting in the dependencies }