我有个问题。的构造函数
QuickAction qa = new QuickAction(v);
需要 View v,但是如何在 AppWidgetProvider 中接收父视图?我用这个来注册点击
PendingIntent actionPendingIntent = PendingIntent.getBroadcast(context, 0, active, 0);
remoteViews.setOnClickPendingIntent(R.id.imageButton1, actionPendingIntent);
接下来我尝试接收视图以“从”我的 QuickAction 创建
mView = mView.findViewById(R.layout.main);
qa = new QuickAction(mView);