Android Question B4XDrawer and rightpanel working B4XPages Example?

Magma

Expert
Licensed User
Longtime User
Solution
Found the problem.
The IncludeTitle attribute need to be true in the main module
1738315038420.png

Alexander Stolte

Expert
Licensed User
Longtime User
b4xdrawer and with LeftPanel works perfect... but can't make it work with b4xpages and have a sliding RightPanel...
The B4XDrawer does not have a RightPanel.
Use my B4XDrawerAdvanced:
 
Upvote 1

Magma

Expert
Licensed User
Longtime User
The B4XDrawer does not have a RightPanel.
Use my B4XDrawerAdvanced:
Actually, I used a b4xdrawer class modified.. I will upload here.... also tried your solution (b4xdraweradvanced)... had the same..

Can you upload a new b4a "b4x pages" example for b4xdraweradvanced working with right panel?
 
Last edited:
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
Upvote 0

Magma

Expert
Licensed User
Longtime User
Why? the DrawerAdvanced is more error free than the .bas file in the thread you are using.

Create an example project that shows your problem with my B4XDrawerAdvanced, then I can help you. My example project works i had tested it right now
Ok thanks... I will create a small example to share it here... with the prob :)
 
Upvote 0

Magma

Expert
Licensed User
Longtime User
Ok thanks... I will create a small example to share it here... with the prob :)
Well i ve found what was the problem for me (not for your lib - that is great)... can't have it work with hamburger ico :)
So got error from there when mixing code from b4xdrawer example and got errors...

I am attaching my example to see if you can help - thanks in advance !

I ve Deleted the Attached because was wrong (not right use of the forum storage)
 
Last edited:
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
The problem is the CheckMainActivityOrientations sub in the B4XPagesManager.bas.
The following code is not working:
B4X:
    Dim jo As JavaObject
    jo.InitializeContext
   
    ActionBar = jo.RunMethod("getActionBar", Null)
The ActionBar javaobject keeps uninitialized

The question is why getActionBar does not return anything
 
Upvote 0
Top