kotlinknifer

For developing an Android conveniently and rapidly.

License

License

Categories

Categories

Kotlin Languages
GroupId

GroupId

studio.pokkbaby
ArtifactId

ArtifactId

kotlinknifer
Last Version

Last Version

2.4.0
Release Date

Release Date

Type

Type

aar
Description

Description

kotlinknifer
For developing an Android conveniently and rapidly.
Project URL

Project URL

https://github.com/pokk/KotlinKnifer
Source Code Management

Source Code Management

https://github.com/pokk/KotlinKnifer

Download kotlinknifer

How to add to project

<!-- https://jarcasting.com/artifacts/studio.pokkbaby/kotlinknifer/ -->
<dependency>
    <groupId>studio.pokkbaby</groupId>
    <artifactId>kotlinknifer</artifactId>
    <version>2.4.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/studio.pokkbaby/kotlinknifer/
implementation 'studio.pokkbaby:kotlinknifer:2.4.0'
// https://jarcasting.com/artifacts/studio.pokkbaby/kotlinknifer/
implementation ("studio.pokkbaby:kotlinknifer:2.4.0")
'studio.pokkbaby:kotlinknifer:aar:2.4.0'
<dependency org="studio.pokkbaby" name="kotlinknifer" rev="2.4.0">
  <artifact name="kotlinknifer" type="aar" />
</dependency>
@Grapes(
@Grab(group='studio.pokkbaby', module='kotlinknifer', version='2.4.0')
)
libraryDependencies += "studio.pokkbaby" % "kotlinknifer" % "2.4.0"
[studio.pokkbaby/kotlinknifer "2.4.0"]

Dependencies

compile (1)

Group / Artifact Type Version
studio.pokkbaby : kotlinshaver jar 2.3.0

runtime (8)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib jar 1.4.32
com.google.code.gson : gson jar 2.8.6
org.jetbrains.kotlinx : kotlinx-coroutines-core jar 1.4.3
org.jetbrains.kotlinx : kotlinx-coroutines-android jar 1.4.3
androidx.appcompat » appcompat jar 1.2.0
androidx.core » core-ktx jar 1.3.2
androidx.recyclerview » recyclerview jar 1.2.0
androidx.palette » palette-ktx jar 1.0.0

Project Modules

There are no modules declared in this project.

KotlinKnifer

license

KotlinKnifer Maven Central
KotlinShaver Maven Central

The library has util tools as below:

KotlinKnifer

  1. Bitmap

  2. Collection

  3. Color

  4. Delegate

  5. Display

  6. Drawable

  7. Fragment

  8. Glide

  9. Keyboard

  10. Listener

  11. Logs

  12. Resolution

  13. Screen

  14. Uri

  15. View

  16. ArrayList

  17. Bitmap

  18. Color

  19. Delegate

  20. Drawable

  21. Fragment

  22. Glide

  23. Keyboard

  24. Listener

  25. Log

  26. Observable of RxJava

  27. Observer of RxJava

  28. RecyclerView.ItemDecorator

  29. RxMvvm

  30. String

  31. Thread

  32. Time

  33. View

KotlinShaver

  1. ArrayList
  2. Instance
  3. Kits
  4. Observable
  5. Observer
  6. String
  7. Thread
  8. Time
  9. Casting

NOTE

THE NEW VERSION.

I've separated a library to two difference libraries. One is the same kotlinkinfer, another is kotlinshaver. the reason is when you have a pure kotlin/java module, this library couldn't be imported into. That's why I should split this into two.

  • kotlinknifer is for android library.
  • kotlinshaver is for pure kotlin/java library.

After kotlinknifer v1.5.0 won't include the pure kotlin/java library. If you'd like to use both, please import kotlinshaver together.

Import To Your Project

Gradle

First you have to make sure your project bundle.gradle as below:

allprojects {
    repositories {
        mavenCentral()
    }
}

And add our dependency to your app bundle.gradle.

implementation 'studio.pokkbaby:kotlinknifer:[last_version]'
implementation 'studio.pokkbaby:kotlinshaver:[last_version]'

Then you can use it!!!

Also Included Library

kotlinknifer

  1. Gson 2.8.5
  2. Glide 4.8.0

kotlinshaver

For Androidx

  1. RxJava 2.2.3
  2. RxKotlin 2.3.0

If you'd not like to use them to your project, you can add the exclude as like below

implementation('studio.pokkbaby:kotlinknifer:[last_version]', {
  exclude group: 'com.google.code.gson', module: 'gson'
  exclude group: 'com.github.bumptech.glide', module: 'glide'
})
implementation('studio.pokkbaby:kotlinshaverr:[last_version]', {
  exclude group: 'io.reactivex.rxjava2', module: 'rxjava'
  exclude group: 'io.reactivex.rxjava2', module: 'rxkotlin'
})

Then you're able to add the version of a library what you need.

Feature

I will add some useful tool modules for everyone and myself. If you have any ideas or problems. Please let me know, thank you!

License

Copyright (C) 2021 Jieyi Wu

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.

Versions

Version
2.4.0
2.3.0