hsk-ktx
Kotlin extension library for you and me!
Download (Gradle)
- Add this code in your root-level
build.gradle
:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Then add this code in dependency:
dependencies {
implementation 'com.github.mwy3055:hsk-ktx:<version-name>'
}
Features
- Provides some useful methods that extend Kotlin core features
- e.g.
Collections<T>.distinctRandoms(count: Int)
- e.g.
- Now extends
Collections
,Numbers
,String
,Gson
- Assertion methods for
Flow<T>
License
Copyright 2022 hsk-lab.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
See full license here.