Created
January 24, 2019 19:57
-
-
Save andijakl/9523286207681eaa16a5115475b87657 to your computer and use it in GitHub Desktop.
Data class with Moshi annotations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.andresjakl.partslist | |
import com.squareup.moshi.JsonClass | |
@JsonClass(generateAdapter = true) | |
data class PartData ( var id: Long, var itemName: String) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment