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

Improvements and changes #6

Open
wants to merge 53 commits into
base: master
Choose a base branch
from

Conversation

vlad-roid
Copy link

@vlad-roid vlad-roid commented Oct 9, 2019

Differences in this branch from original repository

  • Added a "no color" option (transparent color value)
  • Original bitmap generation was prone to crashes, which are instead caught in this fork's source code
  • Original HuePicker, OpacityPicker and SatValPicker have memory leaks, which are fixed in this fork's code
  • For the above changes, HuePicker provides the method setBitmapGenerationFailedListener which listens for bitmap generation failure; ColorPickerDialog uses this listener to automatically reattempt reloading the bitmap every second while the dialog is still showing
  • Migrated from legacy support library to AndroidX AppCompat v1.1.0, leaving inflation of the correct Button classes to the implementations of this library

Other internal changes:

  • Library updates: Gradle wrapper 3.3 -> 5.4.1; Gradle build tools 2.2.0 -> 3.5.1; Maven gradle plugin 1.5 -> 2.0; Compile/Target Android SDK level 25 -> 29; Min Android SDK level 11 -> 14; Android build tools 23.0.3 -> 29.0.2
  • Switched from deprecated compile to api in build.gradle
  • Fixed spelling mistake "dialog_edit_color_root.xml"
  • Removed application declaration from manifest to prevent transitive changes
  • Added missing items to .gitignore
  • Standard Android Studio source code formatting
  • Minor refactoring inside onInterceptTouchEvent of ScrollViews
  • Removed redundant minSizePx variable from HuePicker and OpacityPicker

alexandre-g and others added 30 commits March 15, 2017 13:45
… gradle plugin 1.5 -> 2.0; Compile/Target Android SDK level 25 -> 29; Min Android SDK level 11 -> 14; Android build tools 23.0.3 -> 29.0.2
…ers of the library don't accidentally overwrite the layout
… auto reattempting bitmap generation every second while the dialog is still showing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants