B4A Library AHPreferenceActivity Library

Gawro777

Member
Licensed User
Longtime User


Thats exactly what I want to do. But I am too nube and this explanation is not enough to me. Anyone can post some example of using "invisible" activity to show dialog on it?
Specifically I want to show time picker dialog from MaterialDateTimePicker library.
I don't know how to create activity added to AHPreference catergory and make it to execute timePicker.show (timePicker As TimePickerDialog).

Would be great if anyone can help.
 

Ian Garton

Member
Licensed User
Longtime User
Is this library still the choice for implementation of preferences? Or is there another 'best practice' method now days?
There are a few things with this library that in an ideal world could be changed.
 

corwin42

Expert
Licensed User
Longtime User
Is this library still the choice for implementation of preferences? Or is there another 'best practice' method now days?
There are a few things with this library that in an ideal world could be changed.

There is nothing better for now. There are plans to wrap this library but it will take some time (Maybe I should start a Kickstarter project for wrapping libraries ).
 

manicmonkey

Member
Licensed User
Longtime User
Hi, Sorry if this is a dumb question but I am still very new to B4A.

I am using your Design Support Library for the NavDrawer and MD ActionBar look. When I click settings however the preferences screen does no look right. I would ideally like the return arrow link and Settings in a way that matches the main ActionBar. I'm not sure if this is possible or how to achieve it though???
 

corwin42

Expert
Licensed User
Longtime User

This is not possible. I'm currently working on a new preferences library which will fully support AppCompat/Material Design...
 

manicmonkey

Member
Licensed User
Longtime User
This is not possible. I'm currently working on a new preferences library which will fully support AppCompat/Material Design...
That sounds great, I look forward to it.

fyi - I'll be happy to donate for any libraries used once I publish.
Thanks
 

antonomase

Active Member
Licensed User
Longtime User
Hi,

Is it possible to use the HandleSetting event or another method to get the value of a ListBox and change the Summary : something like "Choose color - selected color = blue" every time the user changes the value in the list ?

Thanks
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…