Skip to content

ChatBubbleView update() method impossible to override #12

@arthef

Description

@arthef

Hi,
I tried to reimplement the update method to put a custom content in the chat message, customize the chat bubble view and other things.
I am mostly interested in reimplementing the part within "if(changed) {...}" part, hoping to leave the rest of the code unchanged/copied.
However, the update() method uses lots of private fields and methods and most of the code in the class is private. This makes it nearly impossible to extended and customize some parts only.

I would suggest to change the access modifier to protected for most of the class members and/or split the update() method into smaller piece of code located in separate methods. This would allow for easier extensibility and flexibility in the future.

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