有人能解释一下"android.R.id.content“的意思吗?
它是如何被使用的?
http://developer.android.com没有任何解释。
公共静态最终int内容
自: API级别1
常量值: 16908290 (0x01020002)
发布于 2021-11-26 06:24:35
片段示例中的
Snackbar.make(requireContext(), requireActivity().findViewById(android.R.id.content), item.getCategoryName(), Snackbar.LENGTH_SHORT).show();https://stackoverflow.com/questions/7776768
复制相似问题