fixed the image gap issue and the screen refreshment issue (#5108)
This commit is contained in:
committed by
GitHub Enterprise
parent
eed4c3c755
commit
83713cf39e
@@ -65,7 +65,6 @@ class FundListingFragmentV2 : AmcBaseFragment(), WidgetCallback {
|
||||
initError(viewModel, showNewDesignSystemFragment = true)
|
||||
initRecyclerView()
|
||||
initObservers()
|
||||
fetchData()
|
||||
return binding.root
|
||||
}
|
||||
|
||||
@@ -128,7 +127,7 @@ class FundListingFragmentV2 : AmcBaseFragment(), WidgetCallback {
|
||||
binding.footer.title.setSpannableString(it.title)
|
||||
binding.footer.btn.text = it.nextCta?.title
|
||||
binding.footer.btn.setOnClickListener { view ->
|
||||
fragmentInterchangeListener?.navigateToNextScreen(it.nextCta)
|
||||
navigateToNextScreen(it.nextCta)
|
||||
}
|
||||
}
|
||||
binding.rvProducts.addOnScrollListener(object : RecyclerView.OnScrollListener() {
|
||||
@@ -151,6 +150,11 @@ class FundListingFragmentV2 : AmcBaseFragment(), WidgetCallback {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onStart() {
|
||||
super.onStart()
|
||||
fetchData()
|
||||
}
|
||||
|
||||
override fun onClick(naviClickAction: NaviClickAction) {
|
||||
when (naviClickAction) {
|
||||
is NaviWidgetClickWithActionData -> {
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitXY"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
Reference in New Issue
Block a user