We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
my project is a little comlicated, but I have a type binded a Stream from sql.
Each time I entered a new chat page from history, it can happens get old room messages, it's weired.
I think it caused by bindStream,
void getMessagesWithContactOrRoomMem(String roomId, bool isGroup, {int perPage = 25, int pageNum = 0}) { if (isGroup) { var msgs = MyDatabase.instance()! .messageDao .getMessagesWithRoomMemberByRoomId(roomId, perPage: perPage, pageNum: pageNum); // out.stream = msgs;
roomMsgs.bindStream(msgs); // return msgs; } else { var msgs = MyDatabase.instance()! .messageDao .getMessagesWithContactByRoomId(roomId, perPage: perPage, pageNum: pageNum); roomMsgs.bindStream(msgs); // return msgs; }
}
Help me
The text was updated successfully, but these errors were encountered:
jonataslaw
No branches or pull requests
my project is a little comlicated, but I have a type binded a Stream from sql.
Each time I entered a new chat page from history, it can happens get old room messages, it's weired.
I think it caused by bindStream,
void getMessagesWithContactOrRoomMem(String roomId, bool isGroup,
{int perPage = 25, int pageNum = 0}) {
if (isGroup) {
var msgs = MyDatabase.instance()!
.messageDao
.getMessagesWithRoomMemberByRoomId(roomId,
perPage: perPage, pageNum: pageNum);
// out.stream = msgs;
}
Help me
The text was updated successfully, but these errors were encountered: