mcxiaoke / kotlin-koi Goto Github PK
View Code? Open in Web Editor NEWKoi, a lightweight kotlin library for Android Development.
Home Page: https://github.com/mcxiaoke/kotlin-koi
License: Apache License 2.0
Koi, a lightweight kotlin library for Android Development.
Home Page: https://github.com/mcxiaoke/kotlin-koi
License: Apache License 2.0
If I try to use (like documented)
compile 'com.mcxiaoke.koi:core:0.5.1'
compile 'com.mcxiaoke.koi:async:0.5.1'
I got this error:
Error:Module 'com.mcxiaoke.koi:core:0.5.1' depends on one or more Android Libraries but is a jar
Please can you explain me how can I solve my problem:
I need to downloadload ListView items images into an async task and I think that creating a some like this can work:
asyncSafe {
val image = downloadImage(myUrl)
mainThreadSafe {
assignImageToImageView(image)
}
}
and call this into onBindViewHolder.
My problem is that this method can create hundreds threads and degrade the performance :(
I want to make a list of threads with an execution limit (like 5 for example) at a time.
Can be this with your fantastic utils?
Hi, there is a mistake. v0.5.4 is on maven instead of v0.5.5, are you able to fix it? thank you
I just updated to the androidX package and some methods like "toast", "longToast", "startActivityForResult" can't be find by the compiler.
This is caused because the Fragment class from the old support library has changed its package to androidx.fragment.app.Fragment
, this way the compiler can't find the extension functions to the old android.support.v4.app.Fragment
.
Would be great to see extension functions or DSL for SharedPreferences. This library has almost everything else needed to boost Android Development using Kotlin!
This is a very good library for Kotlin and Android, but I don't see any new updates from one year, why?
Would be nice to be able to specify a class in order to avoid a cast to AppCompatActivity or any custom activity class.
Something like getActivity<AppCompatActivity>()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.