B4A Class ActionDrawer - ActionBar and NavDrawer Made Perfect

Glen Ponder

Member
Licensed User
Longtime User
I'm adding a listview to the AD.DrawerPanel.Addview

The items in the listview are displayed in the drawer panel however I am struggling to capture the item click event. I initialize the listview with an Event however this does not fire when selecting an item.

Can you please point me in the right direction?

Many thanks
 

Glen Ponder

Member
Licensed User
Longtime User

Please ignore this. I was initializing the listview incorrectly. My bad.
 

asales

Expert
Licensed User
Longtime User
I get this error when opening the demo:

An error has ocurred in sub: java.lang.NoSuchFieldException: ic_overflow_white

How can I fix it?
 

luke2012

Well-Known Member
Licensed User
Longtime User
I'm trying to disable the click event on the "lTitle" lable but without success.
My target is to le the user tap on the menu icon / app icon on the left but not on the label (like new material design navdrawer).

Anyone can help me ?
 

NeoTechni

Well-Known Member
Licensed User
Longtime User
I'm getting:
Cannot find: C:\Program Files (x86)\Basic4android\libraries\nineoldandroid-2.4.0.jar
Even after installing that plugin
 

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
I'm getting an error saying NineOldAndroid is necesary.
I download it but the error persist

ERROR : A referenced library is missing: nineoldandroid-2.4.0
 

Attachments

  • 2015-06-05_1015.png
    5.5 KB · Views: 292

Haris Hafeez

Active Member
Licensed User
Longtime User
I'm getting an error saying NineOldAndroid is necesary.
I download it but the error persist

ERROR : A referenced library is missing: nineoldandroid-2.4.0

When you download the nine old android jar, the file name contains and 's' in the end, like nineoldandoids-2.4.0.jar. Remove the 's' from the filename. At least that's what I had to do to get it working.
 

ArminKH

Well-Known Member
can this class be modiffied for write to left language ?
 

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
I cant make it work...
Compiling in Release mode... clicking in the menu I get this error. and I even cant click in No or Yes
Compiling in Debug Rapid or legacy... worst! while installing the phone is restarted!
 

Attachments

  • FlashAnnotate.jpg
    226 KB · Views: 278

Andre Souza

Member
Licensed User
Hello
How disable/enable icon in toolbar?

Example
AD.AddAction("Search", "Search_Click", "ic_search.png")
 

jchal

Active Member
Licensed User
Longtime User
when i cliked on the top left where the ADActivity is i got the following erros
what is the error?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…