MobApp/app/src/main/java/com/example/monagendapartage/Activities/EventsActivities/DisplayUserFoyerAgendaActivity.java
/**
     * Fonction permettant d'afficher les evenements
     */
Fonction permettant d'afficher les evenements
Fonction permettant d ' afficher les evenements
private void _placeEventsOnList() {
        Activity activity = DisplayUserFoyerAgendaActivity.this;
        if (activity != null) {
            if (mEvents.size() > 0) {
                _showProgress(false);
                mSwipeRefreshLayout.setRefreshing(false);
                noResultsLayout.setRefreshing(false);
                noResultsLayout.setVisibility(View.GONE);
            } else {
                mProgressView.setVisibility(View.GONE);
                mSwipeRefreshLayout.setVisibility(View.GONE);
                noResultsLayout.setVisibility(View.VISIBLE);
                noResultsLayout.setRefreshing(false);
            }
        }
    }
private void _placeEventsOnList ( ) { Activity activity = DisplayUserFoyerAgendaActivity . this ; if ( activity != null ) { if ( mEvents . size ( ) > 0 ) { _showProgress ( false ) ; mSwipeRefreshLayout . setRefreshing ( false ) ; noResultsLayout . setRefreshing ( false ) ; noResultsLayout . setVisibility ( View . GONE ) ; } else { mProgressView . setVisibility ( View . GONE ) ; mSwipeRefreshLayout . setVisibility ( View . GONE ) ; noResultsLayout . setVisibility ( View . VISIBLE ) ; noResultsLayout . setRefreshing ( false ) ; } } }
Fonction permettant d'afficher les evenements
Fonction permettant d ' afficher les evenements