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

Implement EnumTool #21

Closed
maximbircu opened this issue Apr 6, 2020 · 0 comments · Fixed by #25
Closed

Implement EnumTool #21

maximbircu opened this issue Apr 6, 2020 · 0 comments · Fixed by #25
Assignees
Labels
android Relates to Android platform feature New feature or request

Comments

@maximbircu
Copy link
Owner

maximbircu commented Apr 6, 2020

Abstract

Sometimes, we want to limit the configuration value options the library user is able to select. This could be easily achieved by introducing an Enum tool, which will present a finite list of configuration values that could be selected for a parameter.

Requirements

Implement an Enum Tool which will help the library consumer limit the configuration values a parameter might take. It might be done in for of a radio group. The library consumer should have the ability to make the tool accept custom values though.

Consumer flow

  1. Open the sample app and go to the YML dev tools screen.
  2. Find the EnumTool UI control
  3. Try to update the configuration value and make sure it's persisted after app restart.

Repeat the same use-case for Memory dev tools screen.

@maximbircu maximbircu added feature New feature or request android Relates to Android platform labels Apr 6, 2020
@maximbircu maximbircu self-assigned this Apr 6, 2020
@maximbircu maximbircu mentioned this issue Apr 12, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Relates to Android platform feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant