Creating a "preview" widget inside the operation "Configuration"

I want to expand a small widget, which I created a little more, by adding a preview of the widget during its setup. While I could easily do this by simply creating a preview that looks like a widget in the configuration activity - I was wondering if there is a way to actually insert the real widget into the action - and change this widget using remote views during the action without changing the real widget until the done button is clicked.

I saw several widgets on the market that did this, and I was wondering if they were, just recreate the widget using the views inside the action, or did they really put their widget in the configuration activity?

Thanks, any help is appreciated.

(By the way, I don’t think that the "View widget" function in Android 3.0 and ^ is what I want here)

+4
source share

Source: https://habr.com/ru/post/1388057/


All Articles