Commit 9ef24ba3 authored by Adrien Maglo's avatar Adrien Maglo

ExpandableLayout: remove unused code

parent e39f671a
...@@ -24,7 +24,6 @@ import org.videolan.vlc.R; ...@@ -24,7 +24,6 @@ import org.videolan.vlc.R;
import org.videolan.vlc.interfaces.OnExpandableListener; import org.videolan.vlc.interfaces.OnExpandableListener;
import android.content.Context; import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet; import android.util.AttributeSet;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
...@@ -42,13 +41,10 @@ public class ExpandableLayout extends LinearLayout { ...@@ -42,13 +41,10 @@ public class ExpandableLayout extends LinearLayout {
private final LinearLayout mContent; private final LinearLayout mContent;
private Boolean mExpanded; private Boolean mExpanded;
private OnExpandableListener listener = null; private OnExpandableListener listener = null;
private Context mContext;
public ExpandableLayout(Context context, AttributeSet attrs) { public ExpandableLayout(Context context, AttributeSet attrs) {
super(context, attrs); super(context, attrs);
mContext = context;
LayoutInflater.from(context).inflate(R.layout.expandable_layout, this, true); LayoutInflater.from(context).inflate(R.layout.expandable_layout, this, true);
mHeaderLayout = findViewById(R.id.header_layout); mHeaderLayout = findViewById(R.id.header_layout);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment