Hi erel, First you are great, thanks for your creation(b4a)
now what I'd like to ask you,for example if I wanted to create a own button, how do I use this code when i click on it.Please something more clear and more complete.
Best regard.
S.Giuseppe
if (ba.subExists(eventName + "_click")) {
getObject().setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
ba.raiseEvent(getObject(), eventName + "_click");
}
});
}
now what I'd like to ask you,for example if I wanted to create a own button, how do I use this code when i click on it.Please something more clear and more complete.
Best regard.
S.Giuseppe
if (ba.subExists(eventName + "_click")) {
getObject().setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
ba.raiseEvent(getObject(), eventName + "_click");
}
});
}