Reputation: 2018
How can I add my own functionality to the method which is responsible for deleting widget ( when I drag and drop it on the recycle icon ). I need to be able to add some additional implementation. How can I do it?
Upvotes: 0
Views: 181
Reputation: 3095
I have not tried this but youo can use this ...
@Override
public void onDeleted(Context context, int[] appWidgetIds) {
//You code here
super.onDeleted(context, appWidgetIds);
}
Upvotes: 1