maxkeppeler / sheets

⭐ ‎‎‎‏‏‎ ‎Offers a range of beautiful sheets (dialogs & bottom sheets) for quick use in your project. Includes many ways to customize sheets.
https://maxkeppeler.github.io/sheets/
Apache License 2.0
921 stars 77 forks source link

Input check box uses "default" to set default value, which is a reserved keyword in java. #8

Closed adarshpugalia closed 3 years ago

adarshpugalia commented 3 years ago

I am trying to use this library with Java, and the input check box uses the default method to set value, which is a default keyword in java, and hence I am not able to set a default value.

maxkeppeler commented 3 years ago

It's a Kotlin library, but I guess it should work well in general in your java project? I agree that this has to be changed. I will change the method to defaultValue(...).

adarshpugalia commented 3 years ago

The library works fine in java, I'm just facing an issue because of the reserved keyword! By the way, the project looks great! Kudos!

adarshpugalia commented 3 years ago

By the way, I see a commit for the issue, but I do not see a new version. Do you need to roll up the version?

maxkeppeler commented 3 years ago

I will fix the other current issues and then create a new release. At the latest, I will create one this evening (MEZ). Thanks a lot and great that it works otherwise fine in a Java project!