Search in sources :

Example 6 with TransportController

use of de.tum.in.tumcampusapp.component.ui.transportation.TransportController in project TumCampusApp by TCA-Team.

the class MVVWidget method onUpdate.

@Override
public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
    if (transportManager == null) {
        transportManager = new TransportController(context);
    }
    updateAppWidgets(context, appWidgetManager, appWidgetIds);
    setAlarm(context);
    super.onUpdate(context, appWidgetManager, appWidgetIds);
}
Also used : TransportController(de.tum.in.tumcampusapp.component.ui.transportation.TransportController)

Aggregations

TransportController (de.tum.in.tumcampusapp.component.ui.transportation.TransportController)6 Intent (android.content.Intent)2 Bundle (android.os.Bundle)1 Switch (android.widget.Switch)1 AccessTokenManager (de.tum.in.tumcampusapp.api.tumonline.AccessTokenManager)1 Recent (de.tum.in.tumcampusapp.component.other.general.model.Recent)1 CalendarController (de.tum.in.tumcampusapp.component.tumui.calendar.CalendarController)1 TuitionFeeManager (de.tum.in.tumcampusapp.component.tumui.tutionfees.TuitionFeeManager)1 CafeteriaManager (de.tum.in.tumcampusapp.component.ui.cafeteria.controller.CafeteriaManager)1 ChatRoomController (de.tum.in.tumcampusapp.component.ui.chat.ChatRoomController)1 EduroamCard (de.tum.in.tumcampusapp.component.ui.eduroam.EduroamCard)1 EduroamFixCard (de.tum.in.tumcampusapp.component.ui.eduroam.EduroamFixCard)1 NewsController (de.tum.in.tumcampusapp.component.ui.news.NewsController)1 LoginPromtCard (de.tum.in.tumcampusapp.component.ui.onboarding.LoginPromtCard)1 Card (de.tum.in.tumcampusapp.component.ui.overview.card.Card)1 ArrayList (java.util.ArrayList)1