Starting a View from a Service?

后端 未结 6 1487
攒了一身酷
攒了一身酷 2020-12-10 17:52

Already asked a similar question, yet without much luck.

Suppose I have a service and I need a view to pop up above it. In the same time, they both should be intract

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-10 18:08

    What you want is to add a view from your running service instance. This way you can persist the view across all activities - and from anywhere else. See this great example:

    http://www.piwai.info/chatheads-basics/

提交回复
热议问题