class SearchPresenter extends BasePresenter<SearchPresenter.View> {

    public void onTabSelected(int position) {
        switch (position) {
            case CINEMAS_TAB_POSITION : {
                getView().onCinemaTabSelected();
                currentTabPosition = CINEMAS_TAB_POSITION;
                break;
            }
            case ACTORS_TAB_POSITION : {
                getView().onActorTabSelected();
                currentTabPosition = ACTORS_TAB_POSITION;
                break;
            }
        }
    }

    @Inject public  SearchPresenter();

}