java - Android Activity/View Visibility Binding -- is this possible? -


in android, there way bind screen element's visibility boolean property within activity? i've done lot of work backbone , ember doable. i'm following standard methodology of toggling button states based on applicable responses server, code feels overly verbose , clumsy compared able achieve web frameworks.

is there nice way view watch property, , have update visibility based on value of property?

basically have api calls update property in activity (or associated data model), , have visibility logic flow automatically, without manually toggling visibility of elements myself.

so looks want use android binding library. here's github project.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -