-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to implement ListView with FutureBuilder / StreamBuilder in dynamic component? #30
Comments
hi @rizalgunawan, dynamic component is a container, u can use
|
so what should I set inside $JSON_STRING_OR_OBJECT ? what I mean is, I want to populate ListView children from FutureBuilder
basically, we can set widget to children like this, right?
May I have an example? Thank you, this is great's plugin btw.. |
hi @rizalgunawan,i think you can try like this:
FLDyContainer will not add widget level, so u can use it like above. |
Hi @Rannie, thanks for your quick response, I think you misinterpreted what I meant, it contains a static widget from this :
I want to refresh or load more data to the ListView children from the API, without re-creating ListView from json, is that possible? Maybe we can add some params to the widget config, like this:
|
@rizalgunawan i see, It is not supported to disassemble it for refreshing children. so i only can suggest you to write a list view in code and just change children... |
@rizalgunawan FLUI-Dynamic will add dynamic value binding in the future, may also support this kind of splicing to meet your needs... thanks. |
any way to do this?
thanks.
The text was updated successfully, but these errors were encountered: