Addev
Addev

Reputation: 32221

Remote views and non-basic operations

I'm starting with Android widgets and I'd like to know how to make "complex" calls for the widget view's, for example apply a matrix transformation to an ImageView.

Is possible to do that? Should I use RemoteViews class? Thanks

Upvotes: 1

Views: 71

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006584

I'm starting with Android widgets

I am assuming here that you mean "app widgets".

and I'd like to know how to make "complex" calls for the widget view's, for example apply a matrix transformation to an ImageView

That is not supported, sorry. Because the actual app widget's Views are in another application (in that application's own process), you have a very limited API for working with them, in the form of a RemoteViews data structure. That does not support arbitrary operations, particularly involving complex parameters.

Upvotes: 2

Related Questions