Greetings, I wanted to know how you could implement this code to work on b4a, or some idea, thanks
B4X:
public Container createJudgment(Resources var1, String var2, String var3, PCMatrix var4, int var5, int var6) {
Container var13 = this.createContainer(var1, "Judgment"); To B4a ???
Label var12 = this.findLblLeft(var13); // To B4a labelView
Label var14 = this.findLblRight(var13); // To B4a labelView
var12.setText(var2); // To B4a EditTextView
var14.setText(var3);
Slider var15 = this.findSliderJudgment(var13);
int var11 = this.sliderDtoI(var4.get(var5, var6));
var15.setProgress(var11);
Label var16 = this.findLblValue(var13);
double var9 = this.sliderItoD(var11);
this.updateJudgmentStyle(var12, var14, var9);
double var7 = var9;
if(var9 < 1.0D) {
var7 = 1.0D / var9;
}
var16.setText(Utils.format(var7, 2));
// var15.addDataChangedListener(new StateMachine$6(this, var15, var4, var5, var6, var12, var14, var16)); pablo
return var13;
}