|
@@ -40,7 +40,7 @@ class ProcessDemoActivity : BaseActivity<ActivityProcessDemoBinding>() {
|
|
|
mBinding?.refreshList?.setOnClickListener {
|
|
mBinding?.refreshList?.setOnClickListener {
|
|
|
val str = mBinding?.etLockList!!.text.toString()
|
|
val str = mBinding?.etLockList!!.text.toString()
|
|
|
if (str.contains('[') || str.contains(']')) {
|
|
if (str.contains('[') || str.contains(']')) {
|
|
|
- lockList = str.split(',').toMutableList()
|
|
|
|
|
|
|
+ lockList = str.substring(str.indexOf('[') + 1, str.indexOf(']')).split(',').toMutableList()
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|