We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码结构: Activity -> 上下两个 Fragment (同一个类型的,2个实例)
具体使用:
class ImageAdFragment : AdFragment(R.layout.fragment_image_ad) { private val binding by viewbind<FragmentImageAdBinding>() override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) Utils.log("加载图片${model.url}") Glide.with(binding.ivImg.context).asBitmap().load(File(model.url)).into(binding.ivImg) } }
导致第二个 fragment 的图片,展示到了第一个 fragment 里的 ImageView 上, 然后,第二个 Fragment 显示空白...
The text was updated successfully, but these errors were encountered:
收到,我本地复现一下
Sorry, something went wrong.
很抱歉,最近一直在忙,现在才看这个问题, 我按照你说的,写了一个示例,并没有出现你说的问题
Binding/app/src/main/java/com/hi/dhl/demo/binding/viewbind/nested/NestedActivity.kt
Lines 29 to 38 in 2cd510d
No branches or pull requests
代码结构:
Activity -> 上下两个 Fragment (同一个类型的,2个实例)
具体使用:
导致第二个 fragment 的图片,展示到了第一个 fragment 里的 ImageView 上,
然后,第二个 Fragment 显示空白...
The text was updated successfully, but these errors were encountered: