Java Question How to wrap library which extends a Fragment?

Ohanian

Active Member
Licensed User
Longtime User
Hi,

I was wrapping a library which was extended a Fragment(Fragment / DialogFragment)
What should I write in my wrapper class?

Is it true :
B4X:
public MyDatepicker extend ViewWrapper(Fragment_Library_Address)
And in the innerinitialize ; how should we do with instance
I mean
B4X:
public void innerinitialize(BA ba  , String EventName){
MyFragment mfragemnt = MyFragement.this;
}
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
please use code tags when posting code
 

Ohanian

Active Member
Licensed User
Longtime User
In this library
https://github.com/alirezaafkar/SunDatePicker/tree/master/sundatepicker
We have many classes
Main Class is the DatePicker class
It extends a Fragment
I had tried on ViewWrapper
But it didn't result
Also I saw the MapFragment you said ; it doesn't result so.
How should we do with something like this?
I mean inner initialize and extends statements again.
 

Ohanian

Active Member
Licensed User
Longtime User
So according to your post , it's not a view
how should we treat it in order to wrapping and extending?
 
Top