use of me.echeung.listenmoeapi.APIClient in project android-app by LISTEN-moe.
the class App method onCreate.
@Override
public void onCreate() {
super.onCreate();
// Preferences
preferenceUtil = new PreferenceUtil(this);
// API client
apiClient = new APIClient(this, getUserAgent(), preferenceUtil.getLibraryMode());
// UI view models
authViewModel = new AuthViewModel(this);
radioViewModel = new RadioViewModel(this);
userViewModel = new UserViewModel(this);
// Music player service
initNotificationChannel();
initService();
}
Aggregations