stfalcon-studio / ChatKit

Android library. Flexible components for chat UI implementation with flexible possibilities for styling, customizing and data management. Made by Stfalcon
http://stfalcon.com
Apache License 2.0
3.68k stars 831 forks source link

Support kotlin #199

Open ronjunevaldoz opened 6 years ago

ronjunevaldoz commented 6 years ago

Having hard time, implementing IDialog using kotlin, because kotlin automatically generates getter setter, problem is IDialog having getter and setter

public interface IDialog<MESSAGE extends IMessage> {

    String getId();

    String getDialogPhoto();

    String getDialogName();

    List<? extends IUser> getUsers();

    MESSAGE getLastMessage();

    void setLastMessage(MESSAGE message);

    int getUnreadCount();
}
mtangoo commented 6 years ago

Any update on this? I had to use different Ctor names to avoid this kind of clash but its kinda dirty!

mtangoo commented 6 years ago

Issue #24 answers this nicely!