Following change to fix this: In ShineView lin 128 ` shineButton.removeView(ShineView.this); ` replace with: `((ViewGroup) ShineView.this.getParent()).removeView(ShineView.this);` Or modify ShineButton.removeView function.
Following change to fix this:
In ShineView lin 128
shineButton.removeView(ShineView.this);replace with:
((ViewGroup) ShineView.this.getParent()).removeView(ShineView.this);Or modify ShineButton.removeView function.