Creating custom android notification without Remot

2019-09-19 01:34发布

I am trying to create custom notification with custom view inside. I have to set custom array of custom objects into view. But RemoteView doesn't provide getView function. So I am asking, how to create custom android notification with custom view without RemoveView. Or how to get View from RemoteView

1条回答
男人必须洒脱
2楼-- · 2019-09-19 02:06

how to create custom android notification with custom view without RemoveView

That is not possible, sorry.

Or how to get View from RemoteView

That is not possible, sorry.

You will need to figure out how to get your "custom array of custom objects" into something that you can implement with RemoteViews or via one of the extended notification styles (e.g., InboxStyle).

查看更多
登录 后发表回答