Collection of tools for coding in Kotlin
Go to file
2021-10-23 14:26:42 +06:00
.github/workflows add fix of 31.0.0 for kdocs workflow 2021-09-23 13:23:02 +06:00
android wrap with trycatch StateFlowBasedRecyclerViewAdapter listener 2021-06-17 13:46:22 +06:00
common fixes for kdocs 2021-10-18 22:57:25 +06:00
coroutines AccumulatorFlow 2021-10-13 13:26:39 +06:00
crypto fixes for kdocs 2021-10-18 22:57:25 +06:00
dokka fixes for kdocs 2021-10-18 22:57:25 +06:00
fsm upfill kdocs 2021-10-13 15:09:05 +06:00
gradle/wrapper update gradle config and fix build 2021-09-04 14:58:15 +06:00
ktor 0.7.0 + migration back to klock 2021-10-05 13:46:23 +06:00
language_codes updates in IetfLanguageCode 2021-08-08 22:09:33 +06:00
matrix update matrix test 2021-02-11 15:12:21 +06:00
mime_types remove kotlin android extensions 2020-11-23 17:27:52 +06:00
pagination doForAllWithCurrentPaging and fun interface for elements in ktor server 2021-06-14 22:04:39 +06:00
repos protecteds in map repos instead of privates 2021-09-09 12:16:12 +06:00
selector/common add functionality to selector 2020-12-14 20:01:37 +06:00
serialization remove deprecations 2021-10-04 16:09:01 +06:00
_config.yml Set theme jekyll-theme-cayman 2020-12-05 18:57:46 +06:00
.gitignore successfuly add android project 2020-11-10 14:33:47 +06:00
.space.kts Init space CI 2021-06-26 13:38:30 +00:00
build_and_publish.sh update publishing scripts 2020-11-10 20:53:08 +06:00
build.gradle update dependencies 2021-07-31 14:05:52 +06:00
changelog_parser.sh Update and rename changelog_info_retriever to changelog_parser.sh 2020-10-16 21:37:24 +06:00
CHANGELOG.md update dependencies 2021-10-23 14:24:31 +06:00
defaultAndroidSettings.gradle hotfix 2021-04-21 02:02:25 +06:00
extensions.gradle rename template files 2021-04-20 18:36:53 +06:00
github_release.gradle Update github_release.gradle 2020-10-16 21:39:52 +06:00
gradle.properties update dependencies 2021-10-23 14:24:31 +06:00
gradlew init with pagination 2020-09-15 18:57:41 +06:00
gradlew.bat init with pagination 2020-09-15 18:57:41 +06:00
LICENSE Initial commit 2020-09-15 17:57:00 +06:00
mppAndroidProject.gradle set java toolchain version in all projects related to Java 2021-09-19 20:50:24 +06:00
mppJavaProject.gradle set java toolchain version in all projects related to Java 2021-09-19 20:50:24 +06:00
mppProjectWithSerialization.gradle set java toolchain version in all projects related to Java 2021-09-19 20:50:24 +06:00
publish.gradle update publishing scripts 2021-03-05 16:43:50 +06:00
publish.kpsb update publishing scripts 2021-03-05 16:43:50 +06:00
README.md update readme 2021-01-14 20:55:32 +06:00
settings.gradle real creating of module language code -.- 2021-08-04 11:04:03 +06:00

MicroUtils

This is a library with collection of tools for working in Kotlin environment. First of all, this library collection is oriented to use next technologies:

Android environment

You always can look at the properties file to get information about current project dependencies, compile and build tools for Android target.

Projects

  • common contains common tools for platform which usually are absent out-of-the-box when you starting project
  • selector contains tools to use Selector interface with things like RecyclerView in android or other selection needs
  • coroutines is a module for Kotlin Coroutines with different things like subscribing on flows (onEach + launchIn shortcut :) )
  • ktor is a set of modules for clients and servers
  • mime_types is NOT lightweight set of MimeTypes with a lot of different objected and serializable (with Kotlin Serialization) mime types
  • pagination is a complex of modules (explanation in Complex modules structure section) for lightweight pagination
  • serialization is a collection of projects with serializers for kotlinx.serialization
  • repos is a complex of modules (explanation in Complex modules structure section) for KeyValue/OneToMany/CRUD repos created to be able to exclude some heavy dependencies when you need some simple and lightweight typical repositories

Complex modules structure

Most of complex modules are built with next hierarchy:

  • common submodule for API things which are common for all platforms
  • exposed submodule contains realizations for exposed tables
  • ktor submodule is usually unavailable directly, because it contains its own submodules for clients and servers
    • common part contains routes which are common for clients and servers
    • client submodule contains clients which are usually using UnifiedRequester to make requests using routes from ktor/common module and some internal logic of requests
    • server submodule (in most cases JVM-only) contains some extensions for Route instances which usually will give opportunity to proxy internet requests from ktor/client realization to some proxy object