Code example for ProgressBar

0
public class ActivityIndicatorFactory implements AbstractViewFactory 
{ 
	@Override 
	public Widget create(Activity activity, int handle) 
	{ 
		ProgressBar activityIndicator = new ProgressBar( activity ); 
 
		return new ActivityIndicatorWidget( handle, activityIndicator ); 
	} 
}