Skip to content

Releases: EmanueleMelini/KotlinAndroidUtils

1.1.2

26 Oct 15:28
Compare
Choose a tag to compare

Updated extensions:

Added onDismiss callback on the Context.dialog functions

fun Context.dialog(@StringRes title: Int, @StringRes message: Int, @StringRes positive: Int?, @StringRes negative: Int?, posAction: (MaterialDialog) -> Unit, negAction: (MaterialDialog) -> Unit, dismissAction: ((MaterialDialog) -> Unit)? = null)
fun Context.dialog(title: String, message: String, positive: String?, negative: String?, posAction: (MaterialDialog) -> Unit, negAction: (MaterialDialog) -> Unit, dismissAction: ((MaterialDialog) -> Unit)? = null)

1.1.1

07 Sep 14:36
Compare
Choose a tag to compare

Updated extensions:

Added self return for method concatenation

TextView.toUnderlinedClickable(from: String, to: String, @ColorInt color: Int, action: () -> Unit): TextView

1.0.4

07 Sep 14:35
Compare
Choose a tag to compare

Added new extensions:

Checks if the device is in Night Mode

Context.isNightMode(): Boolean

Change color, add underline and add action on click on a part of a TextView

TextView.toUnderlinedClickable(from: String, to: String, @ColorInt color: Int, action: () -> Unit)

1.0.3

07 Sep 14:35
Compare
Choose a tag to compare

Added new extensions:

Display a Material Dialog with Strings instead of String Resources

Context.dialog(title: String, message: String, positive: String?, negative: String?, posAction: (MaterialDialog) -> Unit, negAction: (MaterialDialog) -> Unit) 

Search and returns the given String in the given .properties file

Context.getConfig(name: String?, @RawRes config: Int): String?

1.0.2

07 Sep 14:35
Compare
Choose a tag to compare

Fixed error in release 1.0.1 where gradle asking google-services.json

1.0.1

07 Sep 14:35
Compare
Choose a tag to compare

Added some new extensions and a new file Functions.kt containing some functions

1.0.0

07 Sep 14:34
Compare
Choose a tag to compare

First release!