06-11-2011 12:09 AM - edited 06-11-2011 08:13 AM
Hello Blackberry Developers,
Simulator: BlackBerry 9800 Simulator
Simulator Ver: 126.96.36.199
|Contact Screen 1|
So I am trying to construct a UI similar to Blackberry's Contact - An interface with focusable rows that triggers pushscreen. When a row is selected, the id (which is hidden from users) is passed to the next screen.
Contact Screen 2
In my application, there can be more than just a single ID passed, certain screens passes several variables.
|From the codes in article "Using TableModel, TableView, TableController and DataTemplate to Create a Selectab..., i figured that getLeafFieldWithFocus can retrieve the label of the focused button. However buttons are not suitable for my case due to appearance issues - I need different font styles and sizes in a row.|
This is exactly how I want my app to look like - user makes a category selection by touching the row, for example Food & Beverages.
The next screen shows all companies under Food & Beverages.
My Screen 1
TestDataTemplate theTemplate = new TestDataTemplate(theView, 2, 2);
But now I'm stuck with how to pass the comID to the next screen. the comID will be hidden from users, it is shown here for debugging purposes only.
I can't find an easy way to do this yet, and after searching and looking at the api and forums, I am starting to think that the only way to do this is to construct a custom class. However I don't know which class to extend and which method to use for this purpose. Any help is greatly appreciated. Thanks in advance
Solved! Go to Solution.
06-16-2011 08:16 AM