Needs Versions Save

:closed_umbrella: An easy way to implement modern permission instructions popup.

1.1.2

3 years ago

🎉 Released a new version 1.1.2! 🎉

What's New?

  • Removed unused internal resources.
  • Changed internal resources naming conventions.
  • Refactored internal functions.
  • Added JvmOverloads annotation to NeedsItems for supporting overload constructors in Java.

1.1.1

3 years ago

🎉 Released a new version 1.1.1! 🎉

What's New?

  • Updated kotlin version to 1.4.10 stable.
  • Removed unused dependencies and plugin.
  • Add overScrollMode attribute as never to needs recyclerView.
  • Used single abstract method conversions for interfaces.

1.1.0

3 years ago

🎉 Released a new version 1.1.0! 🎉

What's New?

  • Added missing setBulletForm method in the NeedsItemTheme.
  • Added Dp and Sp annotations properly to properties and arguments.
  • Changed String types properties (title, description, confirm) are changed to Charsequence type.
  • Used a view lifecycle owner instead of fragment lifecycle owner for creating Needs lazy.
  • Updated compile SDK version to 30 and kotlin version to 1.4.0 stable.

1.0.9

3 years ago

🎉 Released a new version 1.0.9 🎉

What's new?

  • Added BulletForm for attaching a bullet in front of the title.
  • Used ViewBinding instead of Kotlin synthetic
  • Refactored internal functionalities

BulletForm

 val itemTheme = needsItemTheme(baseContext) {
      bulletForm = bulletForm(context) {
        setBulletColorResource(R.color.colorPrimary)
        setBulletSize(12)
        setBulletPadding(9)
      }
}

screenshot1633099510

1.0.8

4 years ago

Released version 1.0.8.

  • textForm do not need context argument anymore
  • Removed baseRecyclerViewAdapter dependency
  • Removed and optimized color resources

1.0.7

4 years ago

Implemented new features.

Configure Needs.Builder class using resources.

  • setTitleIconResource, setBackgroundResource.
  • setTitleResource, setDescriptionResource, setConfirmResource.
  • setConfirmBackgroundColorResource, setBackgroundColorResource, setDividerColorResource.

Set background System UI visibility on Needs.Builder. (for supporting full-screen mode)

  • setBackgroundSystemUiVisibility.

1.0.6

4 years ago

Released version 1.0.6.

Needs's Show methods and extensions can be used without any onClickListeners or delay.

1.0.5

4 years ago

Released version 1.0.5.

Implemented

  • Needs.Factory abstract class for creating Needs instance using a lazy delegate.
  • needs lazy delegate extension on ComponentActivity, Fragment.

Now it is possible to create a needs instance using balloon keyword.

1.0.4

4 years ago

released version 1.0.4!

  • setOnConfirmListener lambda expression for Needs, Needs.Builder classes.
  • View.showNeeds(needs), Needs.showNeeds(view) extensions for showing needs.
  • ComponentActivity, Fragment lazy delegate initialize extensions.

v1.0.3

5 years ago

added setConfirmVisible() method for changing the visibility of the confirm button on the popup.