Merge "Update the description of RemoteViews#setViewId" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e65f50862d
@@ -6342,6 +6342,9 @@ public class RemoteViews implements Parcelable, Filter {
|
||||
/**
|
||||
* Set the ID of the top-level view of the XML layout.
|
||||
*
|
||||
* The view's ID is changed right after inflation, before it gets added to its parent. The ID
|
||||
* of a given view can never change after the initial inflation.
|
||||
*
|
||||
* Set to {@link View#NO_ID} to reset and simply keep the id defined in the XML layout.
|
||||
*
|
||||
* @throws UnsupportedOperationException if the method is called on a RemoteViews defined in
|
||||
|
||||
Reference in New Issue
Block a user