Export to GitHub

android-developer-preview - issue #2097

Data Binding Library - Commanding support


Posted on May 29, 2015 by Swift Bird

The Data Binding Library is getting awesome!

But it lacks a event/commanding mechanism so we could wire an object method to a view event.

Something like:

<Button android:onClick={@viewModel.process} />

and viewModel is an instance of a class with a process() method.

Comment #1

Posted on Jun 4, 2015 by Swift Elephant

Thank you for this suggestion. We will pass this along to the development team and provide updates as they are available.

Comment #2

Posted on Jun 17, 2015 by Swift Elephant

The development team has fixed the issue that you have reported and it will be available in a future build

Comment #3

Posted on Jun 17, 2015 by Swift Bird

Excellent news! Can you please update this issue when the build is launched?

Status: Fixed

Labels:
Type-Feature Release-M Feature-21594573