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

Lot of 18 Avaya 9630G IP VoIP Phones Desk Office Business Phone NO AC ADAPTERS
$249.99
Lot of 18 Avaya 9630G IP VoIP Phones Desk Office Business Phone NO AC ADAPTERS pictureNEC Infrontia Aspire VOIP System IP1NA-8KSU 2 Power Supplies 7 Cards
$0.99
NEC Infrontia Aspire VOIP System IP1NA-8KSU 2 Power Supplies 7 Cards pictureNortel 2033 IP VoIP Audio Conference Phone Station with POE - Guarantee working
$40.0
Nortel 2033 IP VoIP Audio Conference Phone Station with POE - Guarantee working pictureUsed Polycom IP 5000 VOIP phone with *NEW Power Kit -
$158.97
Used Polycom IP 5000  VOIP phone with *NEW Power Kit -  pictureLot of 10 Cisco Unified IP Phone CP-7941G 7941 display VoIP Office Phone
$59.0
Lot of 10 Cisco Unified IP Phone CP-7941G 7941 display VoIP Office Phone picture






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