Xử lý Fragment trong Android
Doan Van Toan
Đã trả lời thg 12 22, 2018 3:32 SA
Trong gói Android Fragment thì yêu cầu bắt buộc là phải tạo fragment bằng constructor ko có tham số.
Hiện ở đây em đang truyền context là this vào nên android studio báo lỗi
Em có the sử lại bằng cách
new SearchFragment()
https://github.com/BlazingRockStorm/Graduation-Reasearch/pull/1
+1
Tổ chức
Chưa có tổ chức nào.