This repository has been archived by the owner on Jul 13, 2020. It is now read-only.
Releases: Kotlin/anko
Releases · Kotlin/anko
Anko 0.7
Built for Koltin M13 (0.13.1513).
Changes:
- Anko is now split to several components:
anko-common
contains some basic helpers (such asasync
,toast
or SQLite parsers). Does not contain any of view DSL);anko-sdk15
(also19
,21
,23
) contains DSL bindings for the corresponding Android SDK version;anko-support-v4
,anko-appcompat-v7
and others: additional DSL bindings for the Android support library widgets.
- New async #78;
- Most of extension properties for Views are removed (Kotlin now supports this seamlessly);
- Ability to iterate children views lazily using sequences #74;
- Extension functions for the optimized Android collections and arrays #77;
layoutParams()
is renamed tolparams()
(due to the clash withView.getLayoutParams()
).
Anko 0.6.3
Built for Koltin M12.1 (0.12.613).
Changes:
- Tinted (appcompat) widget support;
- Deprecated extension properties for
RSSurfaceView
,RSTextureView
,WebView
are removed; - Intentions for
Toast.makeText().show()
andfindViewById()
in IDEA plugin.
Bugfixes:
- Fix LayoutParams resolving for some widgets #54;
- Support more types in
intentFor
#60; AnkoLogger
can't now be used as a delegate #65;InterfaceWorkarounds
fields are fixed.
Other:
- DSL Preview plugin is updated to Robolectric 3.0 rc3;
- DSL generator refactoring.
Anko 0.6.2
Built for Koltin M12 (0.12.200).
Changes:
- Sensible listener argument names;
- Some listener arguments and properties are now not-null;
bundleOf()
function;getBuilder()
inAlertDialogBuilder
;startService()
function #42;
Bugfixes:
Anko 0.6.1
Anko 0.6
Built for Koltin M11 (0.11.91.2).
- Breaking: package name change (
kotlinx.android.anko
→org.jetbrains.anko
) - Breaking: new syntax for multi-method listeners
- Configuration qualifiers supported
- Custom views creation
appcompat.v7
views and properties supported- Top-level DSL functions for simple views are removed
startActivityForResult()
,dimen()
extension functionsuiThread
property forContext
andFragment