Wednesday, April 15, 2015

Android : Params in adapter with AA



I'm having some problems in implementing a list view adapter using AA. My problem is send parameters of activity to adapter. Consulting the doc of AA (documentation) I see the next example:



@AfterInject
void initAdapter() {
persons = personFinder.findAll();
}


But I don't understand how this works. I annotated my adapter with @EBean and because of this the adapter don't accepted a constructer. How I send my list of objects for the adapter ?


Thank you.


No comments:

Post a Comment