Skip to content

FortuneItem(int color, int value) crash #2

Description

@ZKjellberg

In the file ExampleActivity, there is commented code at the bottom which looks to offer a simple way to add color coded text for the wheel.

dis.add(new DialItem(Color.BLACK, 1));
dis.add(new DialItem(Color.BLUE, 1));
dis.add(new DialItem(Color.RED, 1));
dis.add(new DialItem(Color.GREEN, 1));
dis.add(new DialItem(Color.MAGENTA, 1));

The method appears to use an old name for the fortuneItem() method. When this method is switched to the new name, we receive the following crash:
https://gist.github.com/ZKjellberg/2e74c34f70d37ed31b1f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions