delight-im / delight-im/Android-DDP
Multi subscribe
Open
- Dominant language
- Java
- Stars
- 274
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
I put the subscribe in Onconnect.when connect success,it will subscribe the collecion.
```
String flag = null;
onConnect(){
if (flag !=null)return
flag = singleinstance.subscrbe("any collections")
}
onDisconnect(){
flag =null;
}
```
above is the code what i subscribe.
now the ques is:in local test env,i see no multi subscribe.
but in the online env,in the monitor,the logs show that the app always subscribe the method,
i am confuse,so i ask the ques in here,hope your reply!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.