|
@@ -334,11 +334,11 @@ class HomeFragment : BaseMVPFragment<FragmentHomeLayoutBinding, HomePresenter>()
|
|
|
override fun helpCenterContentListSuccess(data: HelpCenterContentBean?) {
|
|
|
|
|
|
if (data?.rows != null && data.rows.size > 0) {
|
|
|
- mViewBinding.bgAnnouncement.setVisible(true)
|
|
|
+ mViewBinding.bgAnnouncement.visibility = View.VISIBLE
|
|
|
mViewBinding.tvNoticeContent.text = data.rows[0].title
|
|
|
noticeId = data.rows[0].id
|
|
|
} else {
|
|
|
- mViewBinding.bgAnnouncement.setVisible(false)
|
|
|
+ mViewBinding.bgAnnouncement.visibility = View.INVISIBLE
|
|
|
}
|
|
|
|
|
|
}
|