Hi Guys,
I have come across Jasonette and currently checking out the features. I must thank you for providing something like this. Awesome work!
Now coming to my problem.
I am designing a screen where there is a textfield on top and below that there is a horizontal panel with some populated data. Once I tap on the horizontal panel element, the value should be populated in the textfield.
Here is the json that I am using for this.
What I am doing is, once a value is tapped on, I am setting the value to cache and doing a render again that loads the value in the textfield. As usual, this approach is not quite good when it comes to performance. There is a slight lag between the tap on the item and the item getting populated on the textfield. Also the whole screen is rendered again, which is something I would surely avoid.
So my question is, the approach I am taking, is that the only approach to populate a field with action from another element? I am sorry if this sounds too naive. Is there anything like setText
that we have in Android that can be used in these cases.
FYI, I am using Jasonette in Android platform.
Could you please recommend the optimal approach for this?
Thanks.