Skip to content
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

update list view by changing values to form? #6

Open
ohdonpiano opened this issue Feb 16, 2015 · 0 comments
Open

update list view by changing values to form? #6

ohdonpiano opened this issue Feb 16, 2015 · 0 comments

Comments

@ohdonpiano
Copy link

Hello,

I've issues updating the List View without the need of build the form descriptor again. How to do it?

This works, but makes the List View scroll up:

FormDescriptor descriptor = factory.createFormDescriptorFromAnnotatedClass(form);
        descriptor.setOnFormRowValueChangedListener(this);
        // Render
        formManager.setup(descriptor, commandsListView, this);
        formManager.setOnFormRowClickListener(this);

This does not work, because the form being modified is not used inside FormDescriptor anymore:

formManager.updateRows();

So, how to update the form, update formManager, call updateRows() ?

Many Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant