Code example for RemoteViews

0
				packageName = (String) args[0];
				layoutId = TiConvert.toInt(args[1]);
			} 
		} 
		super.handleCreationArgs(createdInModule, args);
		remoteViews = new RemoteViews(packageName, layoutId);
	} 
 
	@Override 
	public void handleCreationDict(KrollDict dict) {
		super.handleCreationDict(dict);
		if (dict.containsKey(TiC.PROPERTY_PACKAGE_NAME)) {
			packageName = TiConvert.toString(dict, TiC.PROPERTY_PACKAGE_NAME);
		} 
		if (dict.containsKey(TiC.PROPERTY_LAYOUT_ID)) {
			layoutId = TiConvert.toInt(dict, TiC.PROPERTY_LAYOUT_ID);
		} 
	} 
 
	@Kroll.method 
	public void setBoolean(int viewId, String methodName, boolean value)