Sunday, 5 November 2017

moshi-kotlin-ignore

TL;DR: Moshi version of Jackson's @JsonIgnore. For when you can't use @Transient.

In Moshi, You can use transient keyword (in Kotlin: @Transient annotation) for ignore serialization.
But sometimes it's conflict to other features. e.g. ebean-querybean.

moshi-kotlin-ignore is library for ignore parameter serialization / deserialization. You can use this library to resolve above issues.



from The Android Arsenal

Friday, 3 November 2017

NBNConverter

Module supporting conversions between numbers and bytes.



from The Android Arsenal

RendererRecyclerViewAdapter

  • Now you do not need to implement adapters for RecyclerView;
  • You can easily use several types of cells in a single list;
  • You can reuse cells in different RecyclerView;
  • You can easily add a nested RecyclerView;
  • You can easily add the DiffUtil support;
  • You can easily save a state of a Item when scroll;
  • Using this library will protect you from the appearance of any business logic in an adapter.



from The Android Arsenal