Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Fails to generate parcelable #1

@DanielNovak

Description

@DanielNovak

The parcelable generation doesn't work on this class. But it works on http://parcelabler.com/.
Only the long will be recognized and made parcelable, the Strings are ignored.

 public class GetCategoriesResponseCategory {
final long id;
final String name;
final String icon_location;
final String icon_big;

public GetCategoriesResponseCategory(long id, String name, String icon_location) {
    this.id = id;
    this.name = name;
    this.icon_location = icon_location;
    this.icon_big = null;
}

public long getId() {
    return id;
}

public String getName() {
    return name;
}

public String getIcon_location() {
    return icon_location;
}

public String getIcon_big() {
    return icon_big;
}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions