Loading build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ buildscript { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 propVersionName = '3.0.21' propVersionName = '3.0.22' kotlin_version = '1.2.0' support_libs = '27.0.2' } Loading commons/src/main/kotlin/com/simplemobiletools/commons/dialogs/RadioGroupDialog.kt +2 −2 Original line number Diff line number Diff line Loading @@ -13,8 +13,8 @@ import com.simplemobiletools.commons.models.RadioItem import kotlinx.android.synthetic.main.dialog_radio_group.view.* import java.util.* class RadioGroupDialog(val activity: Activity, val items: ArrayList<RadioItem>, val checkedItemId: Int, val titleId: Int = 0, val callback: (newValue: Any) -> Unit) : RadioGroup.OnCheckedChangeListener { class RadioGroupDialog(val activity: Activity, val items: ArrayList<RadioItem>, val checkedItemId: Int = -1, val titleId: Int = 0, val callback: (newValue: Any) -> Unit) : RadioGroup.OnCheckedChangeListener { val dialog: AlertDialog var wasInit = false var selectedItemId = -1 Loading Loading
build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ buildscript { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 propVersionName = '3.0.21' propVersionName = '3.0.22' kotlin_version = '1.2.0' support_libs = '27.0.2' } Loading
commons/src/main/kotlin/com/simplemobiletools/commons/dialogs/RadioGroupDialog.kt +2 −2 Original line number Diff line number Diff line Loading @@ -13,8 +13,8 @@ import com.simplemobiletools.commons.models.RadioItem import kotlinx.android.synthetic.main.dialog_radio_group.view.* import java.util.* class RadioGroupDialog(val activity: Activity, val items: ArrayList<RadioItem>, val checkedItemId: Int, val titleId: Int = 0, val callback: (newValue: Any) -> Unit) : RadioGroup.OnCheckedChangeListener { class RadioGroupDialog(val activity: Activity, val items: ArrayList<RadioItem>, val checkedItemId: Int = -1, val titleId: Int = 0, val callback: (newValue: Any) -> Unit) : RadioGroup.OnCheckedChangeListener { val dialog: AlertDialog var wasInit = false var selectedItemId = -1 Loading