BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-06-2010, 08:12 AM   #1 (permalink)
New Member
 
Join Date: Feb 2008
Model: Curve
PIN: N/A
Carrier: airtel
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default UI Painting Issue

Please Login to Remove!

Hi Friends,

I am working on one application which retrieves following or followers of any user at twitter.com.

For each request I get near about 100 followers or following.

I have created one field which display user's icon and user's name.

I have one vertical Manager in which I wanted to add all 100 fields in it.

I am using following code.

Application.Main.invokeLater(new Runnable()
{

public void run()
{
for(int i=0; i<100; i++)
{
vertificalFieldManager.add(new UserField(name,icon));
invalidate();
}

}
});


But the above code is not repainting the screen. (Screen has been already pushed )

IS there any body who can help me?


Regards,
Ashish
Offline  
Old 02-08-2010, 02:38 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2009
Model: 8800
PIN: N/A
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please check that you are adding the field to correct manager. Add the fields to the main manager, using mainScreenObject.getMainManager().add(Field).
Offline  
Old 02-08-2010, 08:48 AM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Also make sure these fields are focusable.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Commodore Amiga Time Base Corrector VT-2000 TBC II Digital Processing (D9-5)
$250.0
Commodore Amiga Time Base Corrector VT-2000 TBC II Digital Processing  (D9-5) pictureCommodore Amiga A2065 Ethernet Network Card A2000 A2500 A3000 (D9-4)
$85.0
Commodore Amiga A2065 Ethernet Network Card     A2000 A2500 A3000       (D9-4) pictureCommodore Amiga Power Supply PA-4201-5A A2000 A2500 A3000 A4000 (D4)
$65.0
Commodore Amiga Power Supply PA-4201-5A     A2000 A2500 A3000 A4000       (D4) pictureCommodore Amiga Supraram 2000 4mb Expansion A2000 A2500 A3000 A4000 (D9-3)
$45.0
Commodore Amiga Supraram 2000 4mb Expansion A2000 A2500 A3000 A4000    (D9-3) pictureLot of 50 18.5" Wide Shire Commodore Fabric Church Chair with Gold Vein Frame
$2745.0
Lot of 50 18.5






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.