Is there any way to add a custom event handler to an AppWidget component, i.e an event handler that’s not related to an Intent? I just want a listener function, like components in standard activities have.
Thanks.
Is there any way to add a custom event handler to an AppWidget component,
Share
I actually found a solution to this issue. I can use PendingIntent.getBroadcast and then in the onReceive function of the receiver, I write whatever code I want.