Giter Club home page Giter Club logo

Comments (8)

martin-stone avatar martin-stone commented on July 30, 2024

I'd happily consider a pull request.

from hsv-alpha-color-picker-android.

MFlisar avatar MFlisar commented on July 30, 2024

Done

from hsv-alpha-color-picker-android.

martin-stone avatar martin-stone commented on July 30, 2024

Thanks for the quick work. I'll have a proper look later. One issue: the removeColorObserver function doesn't do what it says. In practice maybe we could live without that function anyway.

Also, what's the rationale for putting IColorObserver into it's own package? It creates a need for explicit imports everywhere for no real benefit that I can see.

from hsv-alpha-color-picker-android.

MFlisar avatar MFlisar commented on July 30, 2024

I'll remove the removeColorObserver, I personally don't need it. Just wanted it to be there for the case...

And I'll make the listener an internal class again...

I personally prefer code like:

.addListener(new IColorChangedListener(){...})

Over colde like:

.addListener(new BaseClass.IColorChangedListener(){...})

It's cleaner IMHO... I personally use internal listeners only if they are private or protected...

from hsv-alpha-color-picker-android.

martin-stone avatar martin-stone commented on July 30, 2024

I meant the com.rarepebble.colorpicker.interfaces package (as opposed to just putting it in com.rarepebble.colorpicker). Putting it in a separate module seems reasonable.

from hsv-alpha-color-picker-android.

MFlisar avatar MFlisar commented on July 30, 2024

I see... Misunderstood you.

It's just because I'm used to it... To group and organize my classes...

In a little library like this it's probably not necessary...

from hsv-alpha-color-picker-android.

MFlisar avatar MFlisar commented on July 30, 2024

I corrected the code...

from hsv-alpha-color-picker-android.

martin-stone avatar martin-stone commented on July 30, 2024

All merged now, and built and published to jcenter as version 1.7.0.

Thanks!

from hsv-alpha-color-picker-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.