import a.b.internal.ImageDialog
B4X:
public class ImageDialog extends a implements View.OnClickListener {
...
public ImageDialog(Context paramContext) {
super(paramContext);
init();
}
public void init() {
....
}
B4X:
package anywheresoftware.b4a.objects;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BA.Hide;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.keywords.Common.DesignerCustomView;
import anywheresoftware.b4a.objects.CustomViewWrapper;
import anywheresoftware.b4a.objects.LabelWrapper;
import anywheresoftware.b4a.objects.PanelWrapper;
import anywheresoftware.b4a.objects.ViewWrapper;
import anywheresoftware.b4a.objects.collections.Map;
import a.b.internal.ImageDialog;
@ShortName("SampleImageDialog")
public class SampleImageDialog extends ViewWrapper<ImageDialog> implements DesignerCustomView {
private BA ba;
private String eventName;
/*
* Initialize the HTML-TextView
*/
public void Initialize(BA ba, String EventName) {
_initialize(ba, null, EventName);
}
@Override
public void DesignerCreateView(PanelWrapper base, LabelWrapper lw, Map props) {
//getObject().setChecked((Boolean)props.Get("Checked"));
CustomViewWrapper.replaceBaseWithView(base, getObject());
}
@Hide
@Override
public void _initialize(BA ba, Object activityClass, String EventName) {
this.eventName = EventName.toLowerCase(BA.cul);
this.ba = ba;
this.setObject(new ImageDialog(ba.context));
//getObject().ini initView(arg0, arg1, arg2);
}
}