MarcinusX / NumberPicker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add custom numbers

SaqG opened this issue · comments

commented

I want it to show specific numbers, discontinuous

commented

Did you get any solution?

Can you give an example of why you'd need that?

Can you give an example of why you'd need that?

I am receiving a list of numbers that is what i should show in the picker

"values": [
    -10,
    -5,
    -2.5,
    0,
    2.5,
    5,
    10,
    15
  ]```
  
  This is coming from an API, so can change.

That's a valid use case :) I will reopen although I'm not sure when I'll be available to add this feature.

That's a valid use case :) I will reopen although I'm not sure when I'll be available to add this feature.

Please, let me know

@HudsonJunior you should be able to do that by using textMapper. Bit of hack though...