Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将我自己的功能添加到负责删除小部件的方法中(当我将它拖放到回收图标上时)。我需要能够添加一些额外的实现。我该怎么做?
我还没有尝试过,但你可以使用这个......
@Override public void onDeleted(Context context, int[] appWidgetIds) { //You code here super.onDeleted(context, appWidgetIds); }