Android Gig
  • Home
  • Tips

Two-way DataBinding in Android

In the earlier posts we have seen how to use DataBinding, Setting custom font and Image loading. Today we will discuss about two-way DataBinding.

What is Two-way DataBinding?

Till now we have seen how to set values to xml view, but in controls like EditText we need to fetch value. In simple term two-way DataBinding is setting values to that control and fetching it after having some changes.

ObservableField

ObservableField can be used instead of extending BaseObservable class. ObservableFields are self-contained observable objects that have a single field.
Continue Reading →

Ravi Rupareliya April 6, 2016

Android / android-databinding / databinding / login with databinding / two-way databinding /




Subscribe to Android Gig

Enter your email address to subscribe to this blog and receive notifications of new posts by email.


Recent Posts

  • Dialogflow Entities With Actions on Google
  • Actions on Google Using Cloud Functions
  • Create WhatsApp Stickers Android Application
  • React Native – Introduction
  • Firebase Realtime Database In Android

Most Popular

  • Inbox Style Notification Like Whatsapp
  • Working with Data Binding Android
  • Part of TextView clickable
  • Setting custom font through XML with DataBinding
  • Two-way DataBinding in Android
  • Image Loading With DataBinding in Android
  • Tip : Underlining text in TextView
  • addHeaderView in RecyclerView
  • RecyclerView With Android DataBinding
  • AutoCompleteTextView in Android

Tags

actions-on-google alertdialog Android android-databinding android-n android-n-leak android m android notification Android studio authentication AutoCompleteTextView ClickableSpan ClickListener customfont databinding EditText EventBus firebase FloatingActionButton Floating Labels fontdatabinding gcm imageloader inbox style notification live templates login with databinding marshmallow Material Design notification permissions picasso RecyclerView remote config runtime permissions setadapter SpannableString TextInputLayout TextView tips two-way databinding underline-textview whatsapp gmail type notification Youtube Youtube API Youtube integration



© Android Gig