Can you switch between different views programmatically using RemoteViews

426 Views Asked by At

Let's say I have 3 different views using RelativeLayout for an AppWidget.

<RelativeLayout android:id="@+id/item0" android:visibility="visible"> </RelativeLayout>
<RelativeLayout android:id="@+id/item1" android:visibility="gone"> </RelativeLayout>
<RelativeLayout android:id="@+id/item2" android:visibility="gone"> </RelativeLayout>

Will I be able to programmatically switch between views?

1

There are 1 best solutions below

0
On