Widgets - how to trap page changes?

JohnK

Active Member
Licensed User
Longtime User
Hi,

I would like to do a change to my Widget when the user changes the page. For example, if my widget is on page one, when they are on page two home screen and swipe to page one, I need my widget to flash. I can not seem to trap this event.

I have tried looking at the "StartingIntent.Action", but it went nowhere.

Is there a way? or have I been missing something really simple.

Thanks.
 

JohnK

Active Member
Licensed User
Longtime User
Thanks.

Is there anyway to tell if your widget is visible? I am thinking of a long battery draining process that would be best to exit if its not on screen.
 
Upvote 0

JohnK

Active Member
Licensed User
Longtime User
Not as far as I know.
What is your widget doing?
My current widget project does not do any of the above. I have to admit, I was hoping / surprised there isn't this feature within Android; I was actually expecting a "back door" to the original posts requirements. And hence why I said "I was thinking"....
 
Upvote 0
Top