Dropsy icon indicating copy to clipboard operation
Dropsy copied to clipboard

Dynamic initialization of items and label

Open DanielHerzz opened this issue 3 years ago • 2 comments

Hello again !! Bro I need to convert this xml to java I hope if you can help me . app:dropsyItems="@array/test" app:dropsyLabel="@string/dropdown_label" And thank you 😊

DanielHerzz avatar Feb 05 '22 16:02 DanielHerzz

How I can programmly set items array in Java?

Ararat22891 avatar Dec 04 '22 17:12 Ararat22891

@Ararat22891 @DanielHerzz the library doesn't support the dynamic initialization of the items array yet. This is a much-needed feature though. I can't find time nowadays. Would really appreciate it if you can create a PR. You will need to create an overloaded version of this method. The overloaded method can accept array of strings

qandeelabbassi avatar Dec 06 '22 22:12 qandeelabbassi