class MainPresenter extends BasePresenter<MainPresenter.View> implements SyncConnectionListener {

    void onRetryButtonClicked(boolean internetConnected) {
        if (!internetConnected){
            getView().showNetworkError();
        } else {
            getView().hideNetworkError();
        }
    }

    @Inject public  MainPresenter();

}