Android widget not updating - has incorrect widget ID

前端 未结 3 1538
说谎
说谎 2021-01-17 16:56

I\'ve been working on a widget and making some advances (I hope) but still can\'t get it to do what I want.

I have a configurator activity which works ok. When it cl

3条回答
  •  感动是毒
    2021-01-17 17:29

    You need to set a last flag in a getBroadcast: PendingIntent.FLAG_UPDATE_CURRENT

提交回复
热议问题