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.
我在 android 中创建小部件。我们通过 AppWidgetProvider 类中的意图调用活动。但是在 AppWidgetProvider 类中调用 Fragments 的方法是什么?
But what is the way for calling Fragments inside AppWidgetProvider class?
Fragments are for use by activities, not app widgets.