Topic: Dynamic compiled output agent
There is dynamic created button in Androjd application, the task for this button dynamic to create the handler. I.e. not simply to fasten the listener, namely to add a functional in the form of a script. I the given subject. For the task the script written on Groovy most of all approaches. As Android Studio has the built in support of this language. I found article http://melix.github.io/blog/2014/06/grooid2.html with an example how dynamic to compile scripts. And this simple example even could repeat.
How now similarly to compile a question output agents for buttons, for example.
I ask the help as in the Internet while found nothing.