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

How to get the current object id from MultipleFixedChoicePage? #22

Open
eternalBlast opened this issue Jul 4, 2017 · 0 comments
Open

Comments

@eternalBlast
Copy link

eternalBlast commented Jul 4, 2017

Hello i have multiple fixed choice like below:

((MultipleFixedChoicePage) mWizardModel.findByKey("Items"))
      .setChoices(names)
      .getAdapter().notifyDataSetChanged();

I cannot setId to each choice field. I just only can set the string name to display.

When i pass to bundle like this:
Bundle bundle = mWizardModel.save();

I get the selected string by:
List dealIdsString = bundle.getBundle("Items").getStringArrayList("_");

The problem is i cannot get the selected id (additional property that i wanted to add). Please help. 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