android - Updating custom card expand UI in cardslib? -
this isn't issue, it's more of question. wanted know when create card custom expand , put card in cardslist. when setupinnerviewelements() called? called when expand card or called when touch card or scroll list?
and if update ui of card expand @ runtime while expanded how suggest doing ? suppose have button prompts user enter string , want append string existing string in cardexpand? , @ same time make string available other other cards in expand views ? there method override achieve ?
im sorry cant provide code because long , tedious piece of code.
thanks
the setupinnerviewelements()
in adapter, called standard getview()
method inside adapter.
it called when list scrolls, or when update adapter example (when expand/collapse card, update adapter).
currently can't use different layout cards in adapter. hovewer can set values inside card (model) enable/disable elements in ui (in setupinnerviewelements
).
if update runtime ui, have update values inside cards in adapter.
Comments
Post a Comment