2. . Override the onCreateView handler to inflate the layout you created in You’ll need to create a new Fragment for each UI component. Start by creating a NewItemFragment that extends Fragment step 1.
2... Ghi đè xử lý onCreateView để làm tăng các bố trí bạn tạo ra bạn sẽ cần phải tạo ra một mảnh mới cho mỗi thành phần giao diện người dùng. Bắt đầu bằng cách tạo ra một NewItemFragment mở rộng mảnh bước 1.
2.. Ghi đè lên xử lý onCreateView để bơm bố trí mà bạn đã tạo trong Bạn sẽ cần phải tạo ra một Fragment mới cho mỗi thành phần giao diện người dùng. Bắt đầu bằng cách tạo ra một NewItemFragment kéo dài Fragment bước 1.