Live coding Android: Two-way data binding (Kotlin)

Pubblicato il: 23 aprile 2020
sul canale di: Kike Bodi
734
18

In this video, we will learn how to enable two way data binding in Android.

For this example, we are going to write a very simple counter with a (-) and (+) buttons that modify the total count.
This counter will be isolated on a Custom View and of course, the total count will be shared to the Controller through a two way data binding.

Here is a little index of what we are going to do:
4:39 - Create Kotlin Custom View
18:32 - Enable one-way data binding on this view
26:40 - Set the project structure with ViewModel and LiveData and attach it to the custom view.
31:12 - Enable two-way data binding.

➤Blog post:
https://kikebodi.com/two-way-databind...

➤Source Code:
https://github.com/kikebodi/custom_vi...

➤LinkedIn:
  / kikebodi  


In questa pagina del sito puoi guardare il video online Live coding Android: Two-way data binding (Kotlin) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kike Bodi 23 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 734 volte e gli è piaciuto 18 spettatori. Buona visione!