Posts

Showing posts from December 26, 2018

Vallemaio

Image
Cet article est une ébauche concernant une commune italienne et le Latium. Vous pouvez partager vos connaissances en l’améliorant ( comment ? ) selon les recommandations des projets correspondants. Vallemaio.mw-parser-output .entete.map{background-image:url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png")} Administration Pays   Italie Région Latium  Province Frosinone  Code postal 03040 Code ISTAT 060083 Code cadastral L605 Préfixe tel. 0776 Démographie Population 984  hab. (31-12-2010 [ 1 ] ) Densité 52  hab./km 2 Géographie Coordonnées 41° 22′ 00″ nord, 13° 49′ 00″ est Altitude Min. 337  m Max. 337  m Superficie 1 900   ha  = 19  km 2 Localisation Géolocalisation sur la carte : Latium Vallemaio Géolocalisation sur la carte : Italie Vallemaio Géolocalisation sur la carte : Italie Vallemaio modifier   Vall

MVVM pattern in Android

Image
0 I'm starting MVVM pattern and would like to know if I'm doing well with this. Here is the link from my repository on GitHub. Does my application even implement MVVM? Are there any suggestions or opinions about my code? How am I going? Here's a quick example of how I'm doing. Please see my application in my repository, it's just a simple project. binding.getViewModel().getAllUsers().observe(this, new Observer<List<User>>() { @Override public void onChanged(@Nullable List<User> pessoas) { //update recyclerview when my list my database that returns liveData is changed userAdapter.addUserToList(pessoas); } }); java android mvvm share | imp