Данная библиотека создана с целью упрощения разработки мобильных приложений с использованием связки Jetpack Compose + Kotlin. Вы можете использовать ее напрямую в своих проектах или же просто посмотреть реализацию того или иного элемента.
- -
Button
- -
TextField
- -
Switch
- -
RadioButton
- -
CheckBox
- -
Card
- -
BottomBar
- -
TopBar
- -
DialogWindow
- -
Spinner
- -
SnackBar
- -
PagerIndicator
- -
SearchBar
- -
VerticalGrid
В файл settings.gradle.kts добавьте
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven ("https://jitpack.io")
}
}
Затем, в файл build.gradle.kts (:app) добавьте
dependencies {
implementation("com.github.RavenZIP:WorkShop:2.0.0")
}
Обратите внимание, что minSdk должен быть указан >= 27
android {
defaultConfig {
minSdk = 27
}
}
Синхронизируйте Gradle с проектом и запустите сборку.
- Скачать sources.jar той же версии, что и версия библиотеки в вашем проекте
https://jitpack.io/com/github/RavenZIP/WorkShop/2.0.0/WorkShop-2.0.0-sources.jar
- Перейти в реализацию одного из методов, который есть в библиотеке. Сверху появятся три кнопки (Decompile to Java, Download Sources, Choose Sources)
- Нажать на Choose Sources и указать путь до скачанного sources.jar
- -
Описание отсутствует
![Logo](https://private-user-images.githubusercontent.com/131264945/311485153-12dd43e5-39e3-4215-a587-60c65e31d2bb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNTY1MDYsIm5iZiI6MTcyNjA1NjIwNiwicGF0aCI6Ii8xMzEyNjQ5NDUvMzExNDg1MTUzLTEyZGQ0M2U1LTM5ZTMtNDIxNS1hNTg3LTYwYzY1ZTMxZDJiYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSz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9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.oXuKLiU84EpZj-PgXImOK8UfES0J7XB1T7Whk8am0_4)
![Logo](https://private-user-images.githubusercontent.com/131264945/311485323-59cf9ef1-dfb8-4c53-bc0c-d38827fc799f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNTY1MDYsIm5iZiI6MTcyNjA1NjIwNiwicGF0aCI6Ii8xMzEyNjQ5NDUvMzExNDg1MzIzLTU5Y2Y5ZWYxLWRmYjgtNGM1My1iYzBjLWQzODgyN2ZjNzk5Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMVQxMjAzMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hODViMzViOGE5YjhmMGVjMDFmODIwODhkOGNjOWU2ODlkZmY3NTUwMzc5YjIwM2I0Y2I1YzEzYjcyZjc4YmI0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.-NgjJrN3gnoNmbNGHGgFYWg-rhQYImBpcklY_aANdGA)
![Logo](https://private-user-images.githubusercontent.com/131264945/311487478-a14dfdc8-3c4d-486f-8306-5e419cc1611f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYw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