Skip to content

Commit 3a2f67e

Browse files
committed
Updated return to ArrayList
1 parent ce0adc0 commit 3a2f67e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

checkboxtextviews/src/main/java/uk/co/onemandan/checkboxtextviews/CheckBoxTextViews.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class CheckBoxTextViews(context: Context, attrs: AttributeSet): LinearLayout(con
3030

3131
private var _defaultSelected = false
3232

33-
private var _selectedItems: MutableList<String>? = null
33+
private var _selectedItems: ArrayList<String>? = null
3434
private var _selectedItemListener: CheckBoxTextViewsListener? = null
3535

3636
override fun onClick(v: View?) {
@@ -138,7 +138,7 @@ class CheckBoxTextViews(context: Context, attrs: AttributeSet): LinearLayout(con
138138
_selectedItemListener?.onItemSelected(_selectedItems!!)
139139
}
140140

141-
fun getSelectedItems(): List<String> {
141+
fun getSelectedItems(): ArrayList<String> {
142142
return _selectedItems!!
143143
}
144144

0 commit comments

Comments
 (0)