Android Question DGPickers library question

grafsoft

Well-Known Member
Licensed User
Longtime User
Can I close a cl_dgpickers dialog programmatically? When you choose a line thickness or a color, it closes automatically. But can I close it, for example, if another button is pressed?
 

udg

Expert
Licensed User
Longtime User
Hi grafsoft,
once home I'll reply with more details since I have to look at the code.
I don't think there is any mechanism yet that let you close programmatically the picker bar, but it could be added if needed.
As far as I recall, actually the picker bar is closed when you make a selection or when you swipe across it to signal a "cancel" action, so no selection.

Udg
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
A close function would be great. Imagine you have a dlgpicker open and then click on another button.

For me this is no great issue but some peoplee insist that it should be done.

The alternative is - when a dlgpicker is open, all other functions are disabled. But this is work :(
 
Upvote 0

udg

Expert
Licensed User
Longtime User
I'll procede as outlined in the PM post I sent you yesterday. Once ready (presumably this evening) I'll post in the dgPickers thread the updated lib.
Thank you for your hints and interest in my lib.

Edit: just published release 0.30 where I added public method ClosePicker.

udg
 
Last edited:
Upvote 0
Top