MusicPlayer:AndroidBindingDemo

3 (3)

Live Wallpaper | 45.9KB

Descrizione

This is a technical demo intended for android Developers only This is a demonstration for binding list of Objects in Android Binding, a MVVMfriendly framework. Key Features Declare view binding in Layout XML files. No additional files needed. Helps implements MVVM Much easier for UnitTesting Model Validation that validates against ViewModelsupport Cursor results, and you can even validate the cursor result IntroductionThe basic unit for Android application development is the Activity. However, the way that Android SDK design is overloading the Activity quite heavily. It is the place to control the flow of application, handling User input, communicate with datalayer, servicelayer etc.AndroidBinding is a MVVM ModelViewViewModel framework, that helps freeing the Activity from working directly to User Interfaces. As an Activity, it39;s job is only to supply the ViewModel that the View requires to render the result while ViewModel is a class that with zero direct coupling with the View and actually you might supply a different View to it.By decoupling View User Interface logic and interaction from ViewModel, it also helps in UnitTesting your application logic. Source code available in project page, under Demos section. For more information on binding to Lists:http:code.google compandroidbindingwikiBindingListOfObjectsProject Homepage:http:code.google.compandroidbinding

Show More Less

Informazione

Aggiornata:

Versione corrente: 1.01

È necessario Android: Android 2.1 or later

Rate

Share by

Potrebbe piacerti anche