ColorPickerPreference Versions Save

🎨 A library that lets you implement ColorPicker, ColorPickerDialog, ColorPickerPreference.

2.0.6

2 years ago

🎉 Released a new version 2.0.6! 🎉

What's new?

  • Support building preference in code (#29) by @ethanmdavidson.
  • Updated to ColorPickerView 2.2.3.
  • Refactored internal dependencies.

2.0.5

3 years ago

🎉 Released a new version 2.0.5! 🎉

What's New?

  • Updated ColorPickerView version to 2.2.2
  • Always recycle TypedArray. (#25)
  • Removed generating internal BuildConfig class.
  • Updated Gradle build tool version to 4.1.0 internally.

2.0.4

3 years ago

🎉 Released a new version 2.0.4! 🎉

What's New?

  • Updated ColorPickerView version 2.2.0 internally.
  • Added call setInitialColor by the defaultColor.

2.0.3

3 years ago

🎉 Released a new version 2.0.3! 🎉

What's New?

  • Updated ColorPickerView version to 2.1.9.

You can check the detailed release note here.

2.0.2

3 years ago

🎉 Released a new version 2.0.2! 🎉

What's New?

  • Updated ColorPickerView to version 2.1.8 internally.
  • Updated kotlin version to 1.4.0, compile sdk version to 30 internally.

2.0.1

3 years ago

🎉 Released a new version 2.0.1! 🎉

What's New?

  • Updated to use ColorPickerView dependency as 2.1.7 internally.
  • Added attachAlphaSlideBar and attachBrightnessSlideBar attributes for showing or not alpha & brightness sidebars.
  • Added colorBox_radius attribute for customizing the shape of the color box in the preferences.
  • Added preferenceColorListener for listening to the changing of the chosen color.
  • Removed colorPickerDialogBuilder() method for setting a customized builder.
  • Removed getDialogBuilder() method for getting a customized builder.

Herer is an example for customizing ColorPickerView's flag view and adding preferenceColorListener.

val colorPickerPreferenceBackground = findPreference<ColorPickerPreference>(
      requireContext().getString(R.string.BackgroundColorPickerPreference))
    colorPickerPreferenceBackground?.getColorPickerView()?.flagView = CustomFlag(requireContext(), R.layout.layout_flag)
    colorPickerPreferenceBackground?.preferenceColorListener = ColorEnvelopeListener { envelope, _ ->
      Toast.makeText(requireContext(), "background color: #${envelope.hexCode} is selected", Toast.LENGTH_SHORT).show()
    }

v2.0.0

5 years ago

v1.0.8

5 years ago
  • Migrated androidX preference

v1.0.7

5 years ago

v1.0.6

5 years ago

Migrating to AndroidX