1

我正在尝试从 com.android.internal.widget 实现名为 MultiWaveView 的小部件也许有人已经尝试实现这个?

我在这堂课上的问题

class StateListState extends DrawableContainerState
{
    int[][] mStateSets;
    // Heare error (The constructor DrawableContainer.DrawableContainerState(StateListDrawable.StateListState, StateListDrawable, Resources) is undefined)
    StateListState(StateListState orig, StateListDrawable owner, Resources res)
    {
        super(orig, owner, res );

        if (orig != null) {
            mStateSets = orig.mStateSets;
        } else {
            mStateSets = new int[getChildren().length][];
        }
    }
}
4

0 回答 0