mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-26 03:58:45 +00:00
replaces
This commit is contained in:
parent
e985631621
commit
47b3b42949
@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
* `Android`
|
* `Android`
|
||||||
* `Alerts`
|
* `Alerts`
|
||||||
|
* `Common`
|
||||||
* Project has been created
|
* Project has been created
|
||||||
* `RecyclerView`
|
* `RecyclerView`
|
||||||
* `Alerts`
|
|
||||||
* Project has been created
|
* Project has been created
|
||||||
* `Common`
|
* `Common`
|
||||||
* Annotation `PreviewFeature` has been added
|
* Annotation `PreviewFeature` has been added
|
||||||
|
1
android/alerts/common/src/main/AndroidManifest.xml
Normal file
1
android/alerts/common/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1 @@
|
|||||||
|
<manifest package="dev.inmo.micro_utils.android.alerts.common"/>
|
@ -1,6 +1,6 @@
|
|||||||
@file:Suppress("NOTHING_TO_INLINE", "unused")
|
@file:Suppress("NOTHING_TO_INLINE", "unused")
|
||||||
|
|
||||||
package dev.inmo.micro_utils.android.alerts
|
package dev.inmo.micro_utils.android.alerts.common
|
||||||
|
|
||||||
import android.app.AlertDialog
|
import android.app.AlertDialog
|
||||||
import android.content.Context
|
import android.content.Context
|
@ -1,6 +1,6 @@
|
|||||||
@file:Suppress("NOTHING_TO_INLINE", "unused")
|
@file:Suppress("NOTHING_TO_INLINE", "unused")
|
||||||
|
|
||||||
package dev.inmo.micro_utils.android.alerts
|
package dev.inmo.micro_utils.android.alerts.common
|
||||||
|
|
||||||
import android.app.AlertDialog
|
import android.app.AlertDialog
|
||||||
import android.content.Context
|
import android.content.Context
|
@ -1,6 +1,6 @@
|
|||||||
@file:Suppress("NOTHING_TO_INLINE", "unused")
|
@file:Suppress("NOTHING_TO_INLINE", "unused")
|
||||||
|
|
||||||
package dev.inmo.micro_utils.android.alerts
|
package dev.inmo.micro_utils.android.alerts.common
|
||||||
|
|
||||||
import android.app.AlertDialog
|
import android.app.AlertDialog
|
||||||
import android.content.Context
|
import android.content.Context
|
@ -10,8 +10,8 @@ kotlin {
|
|||||||
sourceSets {
|
sourceSets {
|
||||||
commonMain {
|
commonMain {
|
||||||
dependencies {
|
dependencies {
|
||||||
|
api internalProject("micro_utils.android.alerts.common")
|
||||||
api internalProject("micro_utils.android.recyclerview")
|
api internalProject("micro_utils.android.recyclerview")
|
||||||
api internalProject("micro_utils.android.alerts")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
1
android/alerts/recyclerview/src/main/AndroidManifest.xml
Normal file
1
android/alerts/recyclerview/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1 @@
|
|||||||
|
<manifest package="dev.inmo.micro_utils.android.alerts.recyclerview"/>
|
@ -1,13 +1,13 @@
|
|||||||
@file:Suppress("unused")
|
@file:Suppress("unused")
|
||||||
|
|
||||||
package dev.inmo.micro_utils.android.recyclerview.alerts
|
package dev.inmo.micro_utils.android.alerts.recyclerview
|
||||||
|
|
||||||
import android.app.AlertDialog
|
import android.app.AlertDialog
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.DialogInterface
|
import android.content.DialogInterface
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
import android.widget.TextView
|
import android.widget.TextView
|
||||||
import dev.inmo.micro_utils.android.alerts.AlertDialogCallback
|
import dev.inmo.micro_utils.android.alerts.common.AlertDialogCallback
|
||||||
import dev.inmo.micro_utils.android.recyclerview.*
|
import dev.inmo.micro_utils.android.recyclerview.*
|
||||||
|
|
||||||
data class AlertAction(
|
data class AlertAction(
|
@ -1,13 +1,12 @@
|
|||||||
package dev.inmo.micro_utils.android.recyclerview.alerts
|
package dev.inmo.micro_utils.android.alerts.recyclerview
|
||||||
|
|
||||||
import android.app.AlertDialog
|
import android.app.AlertDialog
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.DialogInterface
|
|
||||||
import android.widget.LinearLayout
|
import android.widget.LinearLayout
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager
|
import androidx.recyclerview.widget.LinearLayoutManager
|
||||||
import androidx.recyclerview.widget.RecyclerView
|
import androidx.recyclerview.widget.RecyclerView
|
||||||
import dev.inmo.micro_utils.android.alerts.AlertDialogCallback
|
import dev.inmo.micro_utils.android.alerts.common.AlertDialogCallback
|
||||||
import dev.inmo.micro_utils.android.alerts.createCustomViewAlertDialogWithResources
|
import dev.inmo.micro_utils.android.alerts.common.createCustomViewAlertDialogWithResources
|
||||||
|
|
||||||
fun Context.createRecyclerViewDialog(
|
fun Context.createRecyclerViewDialog(
|
||||||
title: Int? = null,
|
title: Int? = null,
|
@ -1 +0,0 @@
|
|||||||
<manifest package="dev.inmo.micro_utils.android.alerts"/>
|
|
@ -1 +0,0 @@
|
|||||||
<manifest package="dev.inmo.micro_utils.android.recyclerview.alerts"/>
|
|
@ -17,9 +17,9 @@ String[] includes = [
|
|||||||
":ktor:common",
|
":ktor:common",
|
||||||
":ktor:client",
|
":ktor:client",
|
||||||
":coroutines",
|
":coroutines",
|
||||||
":android:alerts",
|
|
||||||
":android:recyclerview",
|
":android:recyclerview",
|
||||||
":android:recyclerview:alerts",
|
":android:alerts:common",
|
||||||
|
":android:alerts:recyclerview",
|
||||||
|
|
||||||
":dokka"
|
":dokka"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user