Refreshing activity on receiving gcm push notification

后端 未结 7 1290
自闭症患者
自闭症患者 2020-11-29 16:45

Update: GCM is deprecated, use FCM

How to refresh activity on receiving gcm push notification<

7条回答
  •  醉梦人生
    2020-11-29 17:11

    To sum it up in single sentence: If you want to refresh activity, broadcast your custom event when notification arrives and register your activity as broadcast receiver of that event

提交回复
热议问题