package com.ustadmobile.port.android.view;

import java.lang.System;

/**
 * View to hold items for the TocListView. This wraps the view provided by the adapter and puts an
 * expand/collapse arrow on the side if required.
 */
@kotlin.Metadata(mv = {1, 6, 0}, k = 1, d1 = {"\u0000P\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\b\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u00012\u00020\u0002:\u0001$B\u000f\b\u0016\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005B\u0019\b\u0016\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u00a2\u0006\u0002\u0010\bB!\b\u0016\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\u0006\u0010\t\u001a\u00020\n\u00a2\u0006\u0002\u0010\u000bB\'\b\u0017\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\t\u001a\u00020\n\u0012\u0006\u0010\f\u001a\u00020\n\u00a2\u0006\u0002\u0010\rJ\b\u0010\u001d\u001a\u00020\u001eH\u0002J\u0010\u0010\u001f\u001a\u00020\u001e2\u0006\u0010 \u001a\u00020!H\u0016J\u000e\u0010\"\u001a\u00020\u001e2\u0006\u0010 \u001a\u00020!J\u000e\u0010#\u001a\u00020\u001e2\u0006\u0010\u000e\u001a\u00020\u000fR\u0010\u0010\u000e\u001a\u0004\u0018\u00010\u000fX\u0082\u000e\u00a2\u0006\u0002\n\u0000R$\u0010\u0012\u001a\u00020\u00112\u0006\u0010\u0010\u001a\u00020\u0011@FX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0012\u0010\u0013\"\u0004\b\u0014\u0010\u0015R$\u0010\u0017\u001a\u00020\u00112\u0006\u0010\u0016\u001a\u00020\u0011@FX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0017\u0010\u0013\"\u0004\b\u0018\u0010\u0015R\u0010\u0010\u0019\u001a\u0004\u0018\u00010\u001aX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u001b\u001a\u0004\u0018\u00010\u001cX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006%"}, d2 = {"Lcom/ustadmobile/port/android/view/TocItemView;", "Landroid/widget/LinearLayout;", "Landroid/view/View$OnClickListener;", "context", "Landroid/content/Context;", "(Landroid/content/Context;)V", "attrs", "Landroid/util/AttributeSet;", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "defStyleAttr", "", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "defStyleRes", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "clickExpandListener", "Lcom/ustadmobile/port/android/view/TocItemView$OnClickExpandListener;", "expandable", "", "isExpandable", "()Z", "setExpandable", "(Z)V", "expanded", "isExpanded", "setExpanded", "itemViewLayout", "Landroid/widget/FrameLayout;", "mDropDownImageView", "Landroid/widget/ImageView;", "init", "", "onClick", "view", "Landroid/view/View;", "setItemView", "setOnClickExpandListener", "OnClickExpandListener", "app-android_release"})
public final class TocItemView extends android.widget.LinearLayout implements android.view.View.OnClickListener {
    private android.widget.FrameLayout itemViewLayout;
    
    /**
     * Set whether or not the node is expanded. This will only change the expand/collapse icon.
     *
     * @param expanded True to show that this item has been expanded (show up arrow), false otherwise
     * (down arrow)
     */
    private boolean isExpanded = false;
    
    /**
     * Set whether or not expand/collapse arrows should be shown on this view
     *
     * @param expandable true to show expand/collapse arrows, false otherwise
     */
    private boolean isExpandable = false;
    private android.widget.ImageView mDropDownImageView;
    private com.ustadmobile.port.android.view.TocItemView.OnClickExpandListener clickExpandListener;
    
    public final boolean isExpanded() {
        return false;
    }
    
    public final void setExpanded(boolean expanded) {
    }
    
    public final boolean isExpandable() {
        return false;
    }
    
    public final void setExpandable(boolean expandable) {
    }
    
    public TocItemView(@org.jetbrains.annotations.NotNull()
    android.content.Context context) {
        super(null);
    }
    
    public TocItemView(@org.jetbrains.annotations.NotNull()
    android.content.Context context, @org.jetbrains.annotations.Nullable()
    android.util.AttributeSet attrs) {
        super(null);
    }
    
    public TocItemView(@org.jetbrains.annotations.NotNull()
    android.content.Context context, @org.jetbrains.annotations.Nullable()
    android.util.AttributeSet attrs, int defStyleAttr) {
        super(null);
    }
    
    @android.annotation.TargetApi(value = 21)
    public TocItemView(@org.jetbrains.annotations.NotNull()
    android.content.Context context, @org.jetbrains.annotations.NotNull()
    android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(null);
    }
    
    private final void init() {
    }
    
    /**
     * Set the view to be shown
     *
     * @param view
     */
    public final void setItemView(@org.jetbrains.annotations.NotNull()
    android.view.View view) {
    }
    
    public final void setOnClickExpandListener(@org.jetbrains.annotations.NotNull()
    com.ustadmobile.port.android.view.TocItemView.OnClickExpandListener clickExpandListener) {
    }
    
    @java.lang.Override()
    public void onClick(@org.jetbrains.annotations.NotNull()
    android.view.View view) {
    }
    
    @kotlin.Metadata(mv = {1, 6, 0}, k = 1, d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H&\u00a8\u0006\u0006"}, d2 = {"Lcom/ustadmobile/port/android/view/TocItemView$OnClickExpandListener;", "", "onClickExpand", "", "itemView", "Lcom/ustadmobile/port/android/view/TocItemView;", "app-android_release"})
    public static abstract interface OnClickExpandListener {
        
        public abstract void onClickExpand(@org.jetbrains.annotations.NotNull()
        com.ustadmobile.port.android.view.TocItemView itemView);
    }
}