I have a picker as part of my app to allow a user to select between a list of items. The plan is to save their selection and then use that selection when they revisit the screen. However, I can't seem to get it to select the correct box without the list expanding as if it had been clicked.
I have the correct row being selected using:
choicePicker.setSelectedRow(0, choiceIndex, false);
choiceIndex is a variable that pulls up the correct row. I just don't want the box to pop open every time they visit the page (in case it is another option they are wanting to change).
Am I using the wrong method? Or is there a way to do this then immediately set the selection so the box doesn't open?
Application type: mobile-- Titanium SDK: 4.0.0.GA build on 6/24/2015-- Android 5.0.1-- Android emulator-- Windows 7-- Appcelerator Studio, build: 4.0.1.201506021908--
Thanks!