vikramkakkar / SublimePicker

A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.
Apache License 2.0
2.31k stars 407 forks source link

Feature/configurable text recurrence #51

Open CCorrado opened 7 years ago

CCorrado commented 7 years ago

Feature enhancement, Allow the user to pass in some custom strings to update the text labels on the recurrence picker. Also changed the getDrawable deprecated method to ContextCompat.getDrawable().

CCorrado commented 7 years ago

This is what this PR allows the user to do, exposing a method to add these labels to SublimeOptions when creating the picker.

screen shot 2016-12-02 at 12 21 31 pm
CCorrado commented 7 years ago

I was actually able to do this without the modification to the library by doing the same thing, essentially... (find the view by id off sublimePicker, pass in custom strings, etc) but it'll be a bit cleaner this way.