Share My Creation [Project template] B4XPagesAndDrawer

(B4A, B4i, B4J)


1757572968951.png



(Note: This is basically Erel's sample project; I just had to create the .zip file, rename the "root" folder (the one containing the B4A, B4J, and B4i folders) and rename the projects (and .meta files) to $APPNAME$. That's all).

Of course this is a project template, put it in your additional B4X libraries folder and when you create a new project, you can choose this project type

chrome_YywW22jEA6.gif
 
Last edited:

LucaMs

Expert
Licensed User
Longtime User
I was in too much of a hurry.

It might work that way, but every time you create a new project like that, you'd have to remove the unnecessary parts, the ones specific to Erel's project that I didn't remove.

I'm doing that now, though I might have problems, as I'll have to modify the iOS version without having B4i nor Apple hardware!

I'm also thinking about the fact that Erel explained how to add a B4XDrawer to a page, which would mean you'd have to do it on every page you want to have a B4XDrawer.
I think I'll try two approaches, which will probably lead to two similar but different project templates:
1. As it is now: you have to create a B4XDrawer for every page (except the pages you don't want to have one, obviously);
2. Create a single shared B4XDrawer with fixed content, the same for all pages, or, optionally, whose content is updated by the current page (in practice, in the B4XPage_Appear event).

I'll need some time, but I don't think you're in a hurry, are you? 😊
 
Last edited:
Top