Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic initialization of items and label #2

Open
DanielHerzz opened this issue Feb 5, 2022 · 2 comments
Open

Dynamic initialization of items and label #2

DanielHerzz opened this issue Feb 5, 2022 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@DanielHerzz
Copy link

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 😊

@Ararat22891
Copy link

How I can programmly set items array in Java?

@qandeelabbassi
Copy link
Owner

@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 qandeelabbassi added the good first issue Good for newcomers label Dec 6, 2022
@qandeelabbassi qandeelabbassi changed the title How to Convert xml to java Dynamic initialization of items and label Dec 6, 2022
@qandeelabbassi qandeelabbassi added the enhancement New feature or request label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants