কনস্ট্রাক্টর ভিউগ্রুপ।(নির্মাতা)
ViewGroup
ক্লাসের একটি নতুন উদাহরণ তৈরি করে
স্বাক্ষর
constructor(viewOrId: DocsView|ViewId);
বিস্তারিত
পরামিতি
নাম | টাইপ | ঐচ্ছিক | বর্ণনা |
---|
viewOrId | DocsView | ViewId | না | ভিউগ্রুপের রুট আইটেমটি অবশ্যই ভিউ হতে হবে। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-11 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-11 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Creates a new `ViewGroup` object, which is a container for other views."],["Requires a `DocsView` or `ViewId` as an argument, representing the root item of the group."],["The provided root item must be a view and cannot be optional."]]],["The `ViewGroup` constructor requires a `viewOrId` parameter, which can be either a `DocsView` or a `ViewId`. This parameter is mandatory and represents the root item of the `ViewGroup`. The provided root item itself must be a view. The constructor is not protected.\n"]]