06-27-2012 09:38 PM
Hi all, I've been looking through the blackberry Quick Reference Guide as well as the API regarding getting a RichList to work in my application. However, I'm not entirely sure how Managers are used (I'm building my little app using the latest BB SDK, 7.1). Here is my code (stripped down): http://pastie.org/4163177
Basically, my MainScreen pushes this FullScreen, and supplies it a Manager. The reason I did this is because getManager() did not work (getManager() was returning null, so I got an error), so I pushed the manager from the MainScreen through. Now my list does not show up on screen. So my question is: How do I use Managers, and how can I get my RichList to show up?
using menuManager that was passed through my MainScreen:
Solved! Go to Solution.
07-02-2012 11:46 AM
A manager can only be added to one screen. Trying to use the manager from your MainScreen in your FullScreen (or any instance of another screen) won't work. I recommend reading through this guide on Managers. Let us know if you have any questions after checking that.
07-04-2012 09:11 PM - edited 07-04-2012 09:37 PM
Turns out I don't understand Managers fully yet. Is this the correct way to use a VerticalFieldManager?
I assumed it works like Java's Layouts, where if I supply the RichList with a VerticalFieldManager object, it will lay out my list items vertically.
EDIT: Turns out I wanted to use ObjectListField. Silly me!