IosSwipeSearchCompose ![](https://camo.githubusercontent.com/a4e0fc797768f2a5273bee42f1584c4405f86b7373a4b9537656022284b38e0d/68747470733a2f2f6a69747061636b2e696f2f762f636f6d6d616e6469726f6e2f73776970652d7365617263682d636f6d706f73652e737667)
Add Ios Swipe Search TextField Component in Android Jetpack Compose.
How it looks
Usage
val text = remember { mutableStateOf("") }
SwipeSearch(
modifier = Modifier.fillMaxSize(),
textValue = text.value,
onValueChange = {
text.value = it
}
)
Setup
- Open the file
settings.gradle
(it looks like that)
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
// add jitpack here ??
maven { url 'https://jitpack.io' }
...
}
}
...
- Sync the project
- Add dependencies
dependencies {
implementation 'com.github.commandiron:swipe-search-compose:1.0.1'
}