Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add message from service? #55

Open
lucasjinreal opened this issue Oct 17, 2017 · 0 comments
Open

How to add message from service? #55

lucasjinreal opened this issue Oct 17, 2017 · 0 comments

Comments

@lucasjinreal
Copy link

I have a live service which listening to new message, I want add this new message to SlyceFragment, I am using this:

public void addNewMessageToChat(Message message) {
        DebugHelper.LogMessage("接收到了消息啊,", "chat");
        messages.add(message);
        slyceMessagingFragment.addNewMessages(messages);
    }

whatever I try it not add message except I add messages in onCreate method. Any suggestion about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant