suarezjulian/WizardPager

How to get the current object id from MultipleFixedChoicePage?

eternalBlast opened this issue · 0 comments

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.