diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml index c59ef7c3f..c6c89ff23 100644 --- a/.idea/deploymentTargetDropDown.xml +++ b/.idea/deploymentTargetDropDown.xml @@ -2,7 +2,13 @@ - + + + + + + + diff --git a/UIViews/src/main/java/com/programmersbox/uiviews/utils/Utils.kt b/UIViews/src/main/java/com/programmersbox/uiviews/utils/Utils.kt new file mode 100644 index 000000000..00e598a42 --- /dev/null +++ b/UIViews/src/main/java/com/programmersbox/uiviews/utils/Utils.kt @@ -0,0 +1,7 @@ +package com.programmersbox.uiviews.utils + +import kotlin.experimental.ExperimentalTypeInference + +@OptIn(ExperimentalTypeInference::class) +inline fun MutableList.addNewList(@BuilderInference builderAction: MutableList.() -> Unit): Boolean = + addAll(buildList(builderAction)) \ No newline at end of file