duanhong169 / ColorPicker

🎨 A color picker for Android. Pick a color using color wheel and slider (HSV & alpha).
Apache License 2.0
368 stars 83 forks source link

.show() method should be callable without viewparent #2

Closed D4rkness closed 6 years ago

D4rkness commented 6 years ago

I tried this color picker with i a project and came along an issue, regarding the show method. So the goal is just to pick a color and store it in an variable, but to do this a view is mandatory, what in this case is not needed.

So could you maybe add the possibility to set the view null, so that no parent is needed ?

duanhong169 commented 6 years ago

Nice suggestion and I found that the view is just unnecessary, will provide a show() method without view parent in the next release.