Skip to content

Commit

Permalink
sonar lint issue solve
Browse files Browse the repository at this point in the history
  • Loading branch information
MalaRuparel2023 committed May 23, 2024
1 parent 5367e60 commit 7d3195c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ object SmartFilter {

fun addListViewSingleSelection(singleSelectionListView: () -> Params.SingleSelection) {
val param = singleSelectionListView().data
val singleSelectionListView = SingleSelectionListView(param.rootView.context)
singleSelectionListView.configureView(
val singleSelection = SingleSelectionListView(param.rootView.context)
singleSelection.configureView(
param.mData,
param.orientation,
param.bgSelector,
param.textSelector,
param.onItemSelected
)
param.rootView.addView(singleSelectionListView)
param.rootView.addView(singleSelection)

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ class SingleSelectionMultiLineRadioButton @JvmOverloads constructor(context: Con
populateDataFromAttributes()
}
override fun initAttributes(attrs: AttributeSet?) {
val typedArray =
context.theme.obtainStyledAttributes(attrs, R.styleable.MultiLineRadioGroup, 0, 0)
val typedArray = context.theme.obtainStyledAttributes(attrs, R.styleable.MultiLineRadioGroup, 0, 0)
with(typedArray) {
try {
setColumnCount(getInt(R.styleable.MultiLineRadioGroup_rg_ml_spancount,DEFAULT_SPAN_COUNT))
Expand Down

0 comments on commit 7d3195c

Please sign in to comment.