v2.0-alpha2
Pre-release
Pre-release
- Adds
@NonNulland@Nullableannotations to improve interop with Kotlin. - In order to return as few nullable objects as possible, the behavior of some methods has changed. In particular, methods like
getGroup(int)andgetItem(int)which used to returnnullfor missing Group now throwIndexOutOfBoundsException. Group.setGroupDataObserveris nowregister/unregisterGroupDataObserver.- The example project has been rewritten in Kotlin with Android extensions.
- The standard library (no databinding)
Item.createViewHoldernow has a default implementation. The main reason is that if you use Kotlin Android extensions, you never need to create your own ViewHolders—just like the original implementation.