Bram Yeh
1 min readSep 13, 2019

--

Hi, Shweta Chauhan
I think this is because @SerializedName(“”) would transfer all empty string into enum Saving,

Would you try to use

public enum Type {
@SerializedName(“Calendar”)
Calendar,
@SerializedName(“Saving”)

Saving
}

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Bram Yeh
Bram Yeh

Written by Bram Yeh

Lead Android & iOS Mobile Engineer at Yahoo (Verizon Media) Taiwan https://www.linkedin.com/in/hanruyeh/

No responses yet

Write a response