blipinsk / awesome-auto-value-extensions

:shipit: A curated list of awesome AutoValue extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Awesome AutoValue Extensions Awesome

:shipit: A curated list of awesome AutoValue extensions

Please read the contribution guidelines before contributing.

Check out my blog ☕ or say hi on Twitter.

Serialization

Database

Default methods

Custom methods

  • auto-value-map - Generating a Map with fields as keys and associated values as fields' values.

  • auto-value-querymap - Generating a Map that can be used with Retrofit's @QueryMap.

    This extension works similar to the auto-value-map. The differences are:

    1. auto-value-map creates Map<String, Object> while this one creates Map<String, String>
    2. In auto-value-querymap you can use @Param annotation to specify a different key (to be used in Map) for a particular field.
  • auto-value-with - Generating methods prefixed with "with".

Tools

License

CC0

To the extent possible under law, Bartek Lipinski has waived all copyright and related or neighboring rights to this work.

About

:shipit: A curated list of awesome AutoValue extensions