I am using following code
UiApplication.getUiApplication().invokeLater(new Runnable(){
public void run(){
// your code here
XmlDataManager xml=new XmlDataManager();
BitmapField f=xml.getImageFromUrl("http://wiztech.pk/ali/event/"+catg);
// main1.replace(loading, f);
// this.setTitle(f);
}
});
To replace the field in VerticalFieldManager, but it throws exception, can any one help please what us wrong with this?
The only thing i can think of is either
fisnull. which meansgetImageFromUrlis not returning a BitmapField. Orloadinghas already been added to another field manager