This repository has been archived by the owner on Jul 13, 2020. It is now read-only.
0.10 Beta 1
Pre-release
Pre-release
Anko 0.10 requires Kotlin 1.1.
Repository: https://bintray.com/jetbrains/anko/anko/0.10.0-beta-1
Breaking changes:
- View DSL functions that accept the
theme
parameter are renamed tothemed…()
to avoid disambiguation; DslMarker
support (lparams
inside the View lambda are now forbidden);
Other changes:
- Add
anko-coroutines
artifact with the Kotlin 1.1 coroutines support (async
/bg
); - New Android SDK target:
sdk-25
; - Android Support library dependencies updated;
AlertBuilder
interface with core and app-compat implementations.AlertDialogBuilder
is deprecated;ClassParser
now accepts all primitive types #320;- New artifacts:
anko-support-v4-common
andanko-appcompat-v7-common
(with basic helpers, without the DSL functionality) #158; - Synthetic properties (such as
act
orctx
) are nowinline
; TextView.enabled
generated property is removed #245;- Accessing setter-only property values is forbidden;
- SAM View listener setter functions are now
inline
; - Add
isError
andhasValue
toAttemptResult
; - Fix
NoSuchMethodError
on accessingact
property from the support Fragment #311.