Fragment.Id Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the identifier this fragment is known by.
public int Id { [Android.Runtime.Register("getId", "()I", "")] get; }
[<get: Android.Runtime.Register("getId", "()I", "")>]
member this.Id : int
Property Value
- Attributes
Remarks
Return the identifier this fragment is known by. This is either the android:id value supplied in a layout or the container view ID supplied when adding the fragment.
Java documentation for android.app.Fragment.getId()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.