hxb
2022-11-22 b3513b1713bb979d0a69c5a8c4ddcd038f184e6e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.mm.android.deviceaddmodule.mobilecommon.widget.sticky.stickylistheaders;
 
import android.content.Context;
import android.widget.Checkable;
 
class CheckableWrapperView extends WrapperView implements Checkable {
 
    public CheckableWrapperView(final Context context) {
        super(context);
    }
 
    @Override
    public boolean isChecked() {
        return ((Checkable) item).isChecked();
    }
 
    @Override
    public void setChecked(final boolean checked) {
        ((Checkable) item).setChecked(checked);
    }
 
    @Override
    public void toggle() {
        setChecked(!isChecked());
    }
}