Are Android broadcasts received in order?

前端 未结 4 696
后悔当初
后悔当初 2021-01-04 08:07

If 2 broadcasts, A and B, and sent in that order, does Android guarantee that all interested receivers will receive them in the same order?

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-04 08:18

    You could have the behavior check for broadcast A and if isn't there, don't use B until A happens? So they might be received backwards, but still acted on properly?

提交回复
热议问题