private void initializeFromParams(Bundle savedInstanceState) { EventsWrapper eventsWrapper = (EventsWrapper) savedInstanceState.getSerializable(BUNDLE_EVENTS_WRAPPER); if (mEventsAdapter == null) { Log.e("mEventsAdapter", "mEventsAdapter es nulo"); } if (mEventsAdapter.getEventList() == null) { Log.e("mEventsAdapter", "mEventsAdapter es nulo"); } else { Log.e( "mEventsAdapter", "mEventsAdapter no es nulo " + mEventsAdapter.getEventList().get(0).getTitle()); } MainActivity.mEventsPresenter.onPopularEventsRecivrd(eventsWrapper); Log.e("initializeFromParams", "Se inicio nitializeFromParams"); }
@Override public boolean isTheListEmpety() { return (mEventsAdapter == null || mEventsAdapter.getEventList().isEmpty()); }