sonar-android-plugin

How to add a View to an app from another app

最后都变了- 提交于 2020-01-01 15:36:51
问题 My app is called MyNiceApp . MyNiceApp is mostly just a core that loads a view called coreView in the MainActivity onCreate . coreView gets populated by views from other plugins which the user downloads as wishes. I define the various areas on the core view that can be populated by the plugins via Interfaces in MyNiceApp. How can I load and pass Views from plugins into the coreView ? I've been told that RemoteViews are a good option, but I don't know how to implement it. What other options

How to add a View to an app from another app

元气小坏坏 提交于 2020-01-01 15:36:08
问题 My app is called MyNiceApp . MyNiceApp is mostly just a core that loads a view called coreView in the MainActivity onCreate . coreView gets populated by views from other plugins which the user downloads as wishes. I define the various areas on the core view that can be populated by the plugins via Interfaces in MyNiceApp. How can I load and pass Views from plugins into the coreView ? I've been told that RemoteViews are a good option, but I don't know how to implement it. What other options

How to add a View to an app from another app

泄露秘密 提交于 2019-12-04 13:30:24
My app is called MyNiceApp . MyNiceApp is mostly just a core that loads a view called coreView in the MainActivity onCreate . coreView gets populated by views from other plugins which the user downloads as wishes. I define the various areas on the core view that can be populated by the plugins via Interfaces in MyNiceApp. How can I load and pass Views from plugins into the coreView ? I've been told that RemoteViews are a good option, but I don't know how to implement it. What other options are there? Are RemoteViews the best way to go? I'm willing to try out anything that will work, even if