package com.ustadmobile.port.android.view;

import java.lang.System;

@kotlin.Metadata(mv = {1, 6, 0}, k = 1, d1 = {"\u0000b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001:\u0001+B5\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\b\u0010\b\u001a\u0004\u0018\u00010\t\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u000b\u0012\u0006\u0010\f\u001a\u00020\r\u00a2\u0006\u0002\u0010\u000eJ\u0018\u0010\u001f\u001a\u00020 2\u0006\u0010!\u001a\u00020\u00032\u0006\u0010\"\u001a\u00020#H\u0016J\u0018\u0010$\u001a\u00020\u00032\u0006\u0010%\u001a\u00020&2\u0006\u0010\'\u001a\u00020#H\u0016J\u0010\u0010(\u001a\u00020 2\u0006\u0010)\u001a\u00020*H\u0016R\u001b\u0010\u000f\u001a\u00020\u00108BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0013\u0010\u0014\u001a\u0004\b\u0011\u0010\u0012R\u001b\u0010\u0015\u001a\u00020\u00168BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0019\u0010\u0014\u001a\u0004\b\u0017\u0010\u0018R\u001c\u0010\u0004\u001a\u0004\u0018\u00010\u0005X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u001a\u0010\u001b\"\u0004\b\u001c\u0010\u001dR\u0010\u0010\n\u001a\u0004\u0018\u00010\u000bX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0006\u001a\u0004\u0018\u00010\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0012\u0010\b\u001a\u0004\u0018\u00010\tX\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\u001e\u00a8\u0006,"}, d2 = {"Lcom/ustadmobile/port/android/view/ContentEntryListRecyclerAdapter;", "Lcom/ustadmobile/port/android/view/util/SelectablePagedListAdapter;", "Lcom/ustadmobile/lib/db/entities/ContentEntryWithParentChildJoinAndStatusAndMostRecentContainer;", "Lcom/ustadmobile/port/android/view/ContentEntryListRecyclerAdapter$ContentEntryListViewHolder;", "itemListener", "Lcom/ustadmobile/core/controller/ContentEntryListItemListener;", "pickerMode", "", "selectFolderVisible", "", "lifecycleOwner", "Landroidx/lifecycle/LifecycleOwner;", "di", "Lorg/kodein/di/DI;", "(Lcom/ustadmobile/core/controller/ContentEntryListItemListener;Ljava/lang/String;Ljava/lang/Boolean;Landroidx/lifecycle/LifecycleOwner;Lorg/kodein/di/DI;)V", "accountManager", "Lcom/ustadmobile/core/account/UstadAccountManager;", "getAccountManager", "()Lcom/ustadmobile/core/account/UstadAccountManager;", "accountManager$delegate", "Lkotlin/Lazy;", "appDatabase", "Lcom/ustadmobile/core/db/UmAppDatabase;", "getAppDatabase", "()Lcom/ustadmobile/core/db/UmAppDatabase;", "appDatabase$delegate", "getItemListener", "()Lcom/ustadmobile/core/controller/ContentEntryListItemListener;", "setItemListener", "(Lcom/ustadmobile/core/controller/ContentEntryListItemListener;)V", "Ljava/lang/Boolean;", "onBindViewHolder", "", "holder", "position", "", "onCreateViewHolder", "parent", "Landroid/view/ViewGroup;", "viewType", "onDetachedFromRecyclerView", "recyclerView", "Landroidx/recyclerview/widget/RecyclerView;", "ContentEntryListViewHolder", "app-android_debug"})
public final class ContentEntryListRecyclerAdapter extends com.ustadmobile.port.android.view.util.SelectablePagedListAdapter<com.ustadmobile.lib.db.entities.ContentEntryWithParentChildJoinAndStatusAndMostRecentContainer, com.ustadmobile.port.android.view.ContentEntryListRecyclerAdapter.ContentEntryListViewHolder> {
    @org.jetbrains.annotations.Nullable()
    private com.ustadmobile.core.controller.ContentEntryListItemListener itemListener;
    private final java.lang.String pickerMode = null;
    private final java.lang.Boolean selectFolderVisible = null;
    
    /**
     * The lifecycle owner is needed for use of livedata observers
     * Unfortunately findViewTreeLifecycleOwner is flaky when used
     * with a recyclerview item
     */
    private androidx.lifecycle.LifecycleOwner lifecycleOwner;
    private final kotlin.Lazy accountManager$delegate = null;
    private final kotlin.Lazy appDatabase$delegate = null;
    
    public ContentEntryListRecyclerAdapter(@org.jetbrains.annotations.Nullable()
    com.ustadmobile.core.controller.ContentEntryListItemListener itemListener, @org.jetbrains.annotations.Nullable()
    java.lang.String pickerMode, @org.jetbrains.annotations.Nullable()
    java.lang.Boolean selectFolderVisible, @org.jetbrains.annotations.Nullable()
    androidx.lifecycle.LifecycleOwner lifecycleOwner, @org.jetbrains.annotations.NotNull()
    org.kodein.di.DI di) {
        super(null);
    }
    
    @org.jetbrains.annotations.Nullable()
    public final com.ustadmobile.core.controller.ContentEntryListItemListener getItemListener() {
        return null;
    }
    
    public final void setItemListener(@org.jetbrains.annotations.Nullable()
    com.ustadmobile.core.controller.ContentEntryListItemListener p0) {
    }
    
    private final com.ustadmobile.core.account.UstadAccountManager getAccountManager() {
        return null;
    }
    
    private final com.ustadmobile.core.db.UmAppDatabase getAppDatabase() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull()
    @java.lang.Override()
    public com.ustadmobile.port.android.view.ContentEntryListRecyclerAdapter.ContentEntryListViewHolder onCreateViewHolder(@org.jetbrains.annotations.NotNull()
    android.view.ViewGroup parent, int viewType) {
        return null;
    }
    
    @java.lang.Override()
    public void onBindViewHolder(@org.jetbrains.annotations.NotNull()
    com.ustadmobile.port.android.view.ContentEntryListRecyclerAdapter.ContentEntryListViewHolder holder, int position) {
    }
    
    @java.lang.Override()
    public void onDetachedFromRecyclerView(@org.jetbrains.annotations.NotNull()
    androidx.recyclerview.widget.RecyclerView recyclerView) {
    }
    
    @kotlin.Metadata(mv = {1, 6, 0}, k = 1, d1 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u00002\u00020\u00012\u0016\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0002j\n\u0012\u0006\u0012\u0004\u0018\u00010\u0003`\u0004B\u0017\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\b\u00a2\u0006\u0002\u0010\tJ\u0012\u0010\u0016\u001a\u00020\u00172\b\u0010\u0018\u001a\u0004\u0018\u00010\u0003H\u0016RT\u0010\r\u001a\u001a\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u00010\u000bj\f\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u0001`\f2\u001e\u0010\n\u001a\u001a\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u00010\u000bj\f\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u0001`\f@FX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u000e\u0010\u000f\"\u0004\b\u0010\u0010\u0011R\u0011\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0013\u0010\u0007\u001a\u0004\u0018\u00010\b\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015\u00a8\u0006\u0019"}, d2 = {"Lcom/ustadmobile/port/android/view/ContentEntryListRecyclerAdapter$ContentEntryListViewHolder;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "Landroidx/lifecycle/Observer;", "Lcom/ustadmobile/lib/db/entities/ContentJobItemProgressAndStatus;", "Lcom/ustadmobile/door/DoorObserver;", "itemBinding", "Lcom/toughra/ustadmobile/databinding/ItemContentEntryListBinding;", "lifecycleOwner", "Landroidx/lifecycle/LifecycleOwner;", "(Lcom/toughra/ustadmobile/databinding/ItemContentEntryListBinding;Landroidx/lifecycle/LifecycleOwner;)V", "value", "Landroidx/lifecycle/LiveData;", "Lcom/ustadmobile/door/DoorLiveData;", "downloadJobItemLiveData", "getDownloadJobItemLiveData", "()Landroidx/lifecycle/LiveData;", "setDownloadJobItemLiveData", "(Landroidx/lifecycle/LiveData;)V", "getItemBinding", "()Lcom/toughra/ustadmobile/databinding/ItemContentEntryListBinding;", "getLifecycleOwner", "()Landroidx/lifecycle/LifecycleOwner;", "onChanged", "", "t", "app-android_debug"})
    public static final class ContentEntryListViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder implements androidx.lifecycle.Observer<com.ustadmobile.lib.db.entities.ContentJobItemProgressAndStatus> {
        @org.jetbrains.annotations.NotNull()
        private final com.toughra.ustadmobile.databinding.ItemContentEntryListBinding itemBinding = null;
        @org.jetbrains.annotations.Nullable()
        private final androidx.lifecycle.LifecycleOwner lifecycleOwner = null;
        @org.jetbrains.annotations.Nullable()
        private androidx.lifecycle.LiveData<com.ustadmobile.lib.db.entities.ContentJobItemProgressAndStatus> downloadJobItemLiveData;
        
        public ContentEntryListViewHolder(@org.jetbrains.annotations.NotNull()
        com.toughra.ustadmobile.databinding.ItemContentEntryListBinding itemBinding, @org.jetbrains.annotations.Nullable()
        androidx.lifecycle.LifecycleOwner lifecycleOwner) {
            super(null);
        }
        
        @org.jetbrains.annotations.NotNull()
        public final com.toughra.ustadmobile.databinding.ItemContentEntryListBinding getItemBinding() {
            return null;
        }
        
        @org.jetbrains.annotations.Nullable()
        public final androidx.lifecycle.LifecycleOwner getLifecycleOwner() {
            return null;
        }
        
        @org.jetbrains.annotations.Nullable()
        public final androidx.lifecycle.LiveData<com.ustadmobile.lib.db.entities.ContentJobItemProgressAndStatus> getDownloadJobItemLiveData() {
            return null;
        }
        
        public final void setDownloadJobItemLiveData(@org.jetbrains.annotations.Nullable()
        androidx.lifecycle.LiveData<com.ustadmobile.lib.db.entities.ContentJobItemProgressAndStatus> value) {
        }
        
        @java.lang.Override()
        public void onChanged(@org.jetbrains.annotations.Nullable()
        com.ustadmobile.lib.db.entities.ContentJobItemProgressAndStatus t) {
        }
    }
}