peacemaker Expert Licensed User Longtime User Nov 11, 2017 #1 HI, All How CustomView is created and added onto an Activity, if Designer is not needed ? I need to just use a custom view (small list item picker) in some sub, then it is to be killed\nulled and the result Int value returned into the calling sub.
HI, All How CustomView is created and added onto an Activity, if Designer is not needed ? I need to just use a custom view (small list item picker) in some sub, then it is to be killed\nulled and the result Int value returned into the calling sub.
Erel B4X founder Staff member Licensed User Longtime User Nov 12, 2017 #2 You can always create a layout file with only the custom view and load it whenever needed. Depending on how the specific custom view is implemented it might be possible to load it programmatically. Upvote 0
You can always create a layout file with only the custom view and load it whenever needed. Depending on how the specific custom view is implemented it might be possible to load it programmatically.
peacemaker Expert Licensed User Longtime User Nov 12, 2017 #3 I mean, now in the customview class - no possibility to know the Activity object to add the mBase ? Without Designer. Upvote 0
I mean, now in the customview class - no possibility to know the Activity object to add the mBase ? Without Designer.
klaus Expert Licensed User Longtime User Nov 12, 2017 #4 In the B4x CustomView Booklet (link in my signature) chapter 4.3 Adding a custom view by code you find examples which allow adding them in the code. Last edited: Feb 3, 2020 Upvote 0
In the B4x CustomView Booklet (link in my signature) chapter 4.3 Adding a custom view by code you find examples which allow adding them in the code.