Pleasant Android application development
This release has satellite with version number 0.10.6-eap13
. It's built with Kotlin 1.3-M2
and release kotlinx.coroutines 0.26.0-eap13
. Please try it and feel free to provide any feedback.
0.10.6-eap-13
with release kotlinx.coroutinesdoBeforeSdk
helper function (#567)dp
is unresolved after conversion (#563)lparams
for CollapsingToolbarLayout
, now returns correct LayoutParams (#275, #269)Context.clipboardManager
now returns new ClipboardManager
instead of deprecated one (#180)CardView
(#269, #357)android.support.design.internal.*
as they shouldn't be used outside of support libraryTextInputEditText
added to anko-design (#205)CharSequence
instead of String
(#422)allCaps
and ems
properties to TextView (#459)createIntent
and startActivity
(#465)View::backgroundColorResource
and TextView::textColorResource
(#254)ComponentName
from startService
methods (#435)Bugfixes:
kotlinx.coroutines.android
dependency (the old one fails to resolve in Android Studio 3.0) #381;hasNext()
and next()
in childrenRecursiveSequence()
#388.DslMarker
annotation support;DslMarker
annotation support (calling lparams()
inside View blocks is finally forbidden);anko-<platformName>-listeners
artifacts (e.g. anko-sdk25-listeners
);theme
parameter renamed to themed…()
to avoid disambiguation;AnkoLogger(clazz: KClass<*>)
and AnkoLogger(obj: Any)
.anko-<platformName>-coroutines
(e.g. anko-sdk25-coroutines
) artifacts with the new listener helpers with coroutines support;bg()
function that executes code in background (wrapper on top of kotlinx.coroutines);AlertBuilder
interface with core and appcompat implementations. AlertDialogBuilder
is deprecated;Snackbar
helpers #203;Dialog.find()
method #351;foreach()
extensions for SparseArray
#255;AnkoLogger
(AnkoLogger<MyClass>()
);isError
and hasValue
to AttemptResult
.org.jetbrains.anko:anko
;anko-support-v4-commons
, anko-appcompat-v7-commons
) #158;sdk-25
;anko-common
artifact renamed to anko-commons
to reflect the naming changes. anko-common
is deprecated;ClassParser
now accepts all primitive types #320;act
or ctx
) are now inline
;lparams
functions are now inline
#338;TextView.enabled
generated property #245;NoSuchMethodError
on accessing act
property from the support Fragment #311;id
to be set in RelativeView
helpers #363.anko-<platformName>-listeners
(e.g. anko-sdk15-listeners
) artifacts;async()
function introduced in 0.10.0-beta1 was removed (use async()
from kotlinx.coroutines);AnkoLogger(clazz: KClass<*>)
and AnkoLogger(obj: Any)
functions are removed;anko-<platformName>-coroutines
(e.g. anko-sdk15-coroutines
) artifacts with the new listener helpers with coroutines support;lparams
functions are now inline
#338;bg()
function that executes code in a background thread and returns Deferred<T>
;AnkoLogger
now has the reified version: AnkoLogger<MyClass>()
;