I am calling a library method that requires me to pass the view object for my main layout. Is there a way to get / call the view object for my main layout as I am not using the R.id references the library expects?
I believe that I may be on the right track with using ba.activity.finViewById(int), but I am not sure what int value to use to reference my main layout view.
B4X:
// Call showOffer with your main activity and main layout view as arguments, to anchor the popup correctly.
if(maybeOffer.isPresent()){
wom.showOffer(this, findViewById(R.id.main_layout), maybeOffer.get());}
I believe that I may be on the right track with using ba.activity.finViewById(int), but I am not sure what int value to use to reference my main layout view.