eurosecom / samfantozzi

android Java / Kotlin app samfantozzi powered by EuroSecom in Android Studio 3.0
Apache License 2.0
0 stars 0 forks source link

DomainsActivity.java #23

Open eurosecom opened 6 years ago

eurosecom commented 6 years ago

To switch the domains for accounting default www.eshoptest.sk, www.ala.sk.... At Google I/O 2017, the Android Framework team announced the new Android Architecture Components. Namely ViewModel, LiveData and other lifecycle-aware components.

by https://proandroiddev.com/architecture-components-modelview-livedata-33d20bdcc4e9

and

https://github.com/jshvarts/SimpleViewModel

eurosecom commented 6 years ago

To set dependencies into app/build.gradle for Android Architecture Components. Namely ViewModel, LiveData and other lifecycle-aware components.

// Lifecycle
implementation "android.arch.lifecycle:runtime:1.1.1"
implementation "android.arch.lifecycle:extensions:1.1.1"
annotationProcessor "android.arch.lifecycle:compiler:1.1.1"