TP-39966 | Bug fix | Pre purchase flow- Member select deselect (#7722)
This commit is contained in:
committed by
GitHub
parent
52fd9530e6
commit
4be6370962
@@ -21,6 +21,7 @@ import androidx.fragment.app.Fragment
|
||||
import com.google.gson.Gson
|
||||
import com.navi.base.model.CtaData
|
||||
import com.navi.base.model.CtaType
|
||||
import com.navi.base.utils.isNotNull
|
||||
import com.navi.base.utils.isNull
|
||||
import com.navi.base.utils.orTrue
|
||||
import com.navi.common.image.loadUrlIntoImageView
|
||||
@@ -332,7 +333,8 @@ class MultiSelectWidgetView(context: Context, attributeSet: AttributeSet? = null
|
||||
)
|
||||
}
|
||||
dependentDetails?.gender = GenderTypes.FEMALE.name
|
||||
selectedItemData?.put(proposalRelation, dependentDetails)
|
||||
if(dependentDetails.isNotNull())
|
||||
selectedItemData?.put(proposalRelation, dependentDetails)
|
||||
} else {
|
||||
fragment?.activity?.baseContext?.let { context ->
|
||||
loadUrlIntoImageView(
|
||||
@@ -343,7 +345,8 @@ class MultiSelectWidgetView(context: Context, attributeSet: AttributeSet? = null
|
||||
}
|
||||
|
||||
dependentDetails?.gender = GenderTypes.MALE.name
|
||||
selectedItemData?.put(proposalRelation, dependentDetails)
|
||||
if(dependentDetails.isNotNull())
|
||||
selectedItemData?.put(proposalRelation, dependentDetails)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user