Update dependencies
Settings activity refactor
This commit is contained in:
248 files changed
+8700
-8980
No files matched your search
@@ -23,12 +23,14 @@ import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.RadioButton;
|
||||
|
||||
import androidx.annotation.IdRes;
|
||||
|
||||
import com.hippo.yorozuya.ViewUtils;
|
||||
|
||||
public class RadioGridGroup extends SimpleGridLayout {
|
||||
|
||||
private static final int[] RADIO_ATTRS = new int[] {
|
||||
private static final int[] RADIO_ATTRS = new int[]{
|
||||
android.R.attr.checkedButton
|
||||
};
|
||||
|
||||
@@ -113,7 +115,6 @@ public class RadioGridGroup extends SimpleGridLayout {
|
||||
* such an operation is equivalent to invoking {@link #clearCheck()}.</p>
|
||||
*
|
||||
* @param id the unique id of the radio button to select in this group
|
||||
*
|
||||
* @see #getCheckedRadioButtonId()
|
||||
* @see #clearCheck()
|
||||
*/
|
||||
@@ -153,7 +154,6 @@ public class RadioGridGroup extends SimpleGridLayout {
|
||||
* Upon empty selection, the returned value is -1.</p>
|
||||
*
|
||||
* @return the unique id of the selected radio button in this group
|
||||
*
|
||||
* @see #check(int)
|
||||
* @see #clearCheck()
|
||||
*/
|
||||
@@ -193,7 +193,7 @@ public class RadioGridGroup extends SimpleGridLayout {
|
||||
* <p>Called when the checked radio button has changed. When the
|
||||
* selection is cleared, checkedId is -1.</p>
|
||||
*
|
||||
* @param group the group in which the checked radio button has changed
|
||||
* @param group the group in which the checked radio button has changed
|
||||
* @param checkedId the unique identifier of the newly checked radio button
|
||||
*/
|
||||
void onCheckedChanged(RadioGridGroup group, @IdRes int checkedId);
|
||||
|
||||
Reference in new issue
Block a user