1private FragmentJavaPracticeBinding binding;
2
3@Nullable
4 @Override
5 public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
6 binding = FragmentJavaPracticeBinding.inflate(inflater,container,false);
7 return binding.getRoot();
8 }
9
10 @Override
11 public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
12 binding.notesRecyclerView.setVisibility(View.VISIBLE);//this hide/show recyclerview visibility
13 Log.d("TAG", "hidden: ");
14 }