Android fragment的数据绑定databinding

@Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
     
        binding= DataBindingUtil.inflate(inflater, R.layout.cpp300_fragment_verify_1,container,false);
        ...
		return binding.getRoot();

备忘一下.

你可能感兴趣的:(android)