package com.ustadmobile.port.android.view;

import java.lang.System;

/**
 * This RecyclerViewAdapter is intended to be placed in a MergeAdapter at the end. It
 */
@kotlin.Metadata(mv = {1, 7, 1}, k = 1, d1 = {"\u0000T\n\u0002\u0018\u0002\n\u0000\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\b\n\u0002\b\n\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0006\u0018\u0000 0*\u0004\b\u0000\u0010\u00012\u000e\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00040\u00022\b\u0012\u0004\u0012\u00020\u00030\u0005:\u0003012B%\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\t\u0012\b\b\u0002\u0010\n\u001a\u00020\u000b\u00a2\u0006\u0002\u0010\fJ\u0010\u0010\"\u001a\u00020#2\u0006\u0010$\u001a\u00020%H\u0016J\u0018\u0010&\u001a\u00020#2\u0006\u0010\'\u001a\u00020\u00042\u0006\u0010(\u001a\u00020\u000bH\u0016J\u0012\u0010)\u001a\u00020#2\b\u0010*\u001a\u0004\u0018\u00010\u0003H\u0016J\u0018\u0010+\u001a\u00020\u00042\u0006\u0010,\u001a\u00020-2\u0006\u0010.\u001a\u00020\u000bH\u0016J\u0010\u0010/\u001a\u00020#2\u0006\u0010$\u001a\u00020%H\u0016R\u0011\u0010\n\u001a\u00020\u000b\u00a2\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0013\u0010\b\u001a\u0004\u0018\u00010\t\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u001c\u0010\u0006\u001a\u0004\u0018\u00010\u0007X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0011\u0010\u0012\"\u0004\b\u0013\u0010\u0014R\u001a\u0010\u0015\u001a\u000e\u0018\u00010\u0016R\b\u0012\u0004\u0012\u00028\u00000\u0000X\u0082\u000e\u00a2\u0006\u0002\n\u0000R@\u0010\u001a\u001a\u0010\u0012\n\u0012\b\u0012\u0004\u0012\u00028\u00000\u0019\u0018\u00010\u00182\u0014\u0010\u0017\u001a\u0010\u0012\n\u0012\b\u0012\u0004\u0012\u00028\u00000\u0019\u0018\u00010\u00188F@FX\u0086\u000e\u00a2\u0006\f\u001a\u0004\b\u001b\u0010\u001c\"\u0004\b\u001d\u0010\u001eR4\u0010\u001f\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u00182\u000e\u0010\u0017\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u00188F@FX\u0086\u000e\u00a2\u0006\f\u001a\u0004\b \u0010\u001c\"\u0004\b!\u0010\u001e\u00a8\u00063"}, d2 = {"Lcom/ustadmobile/port/android/view/ListStatusRecyclerViewAdapter;", "T", "Landroidx/recyclerview/widget/ListAdapter;", "Lcom/ustadmobile/door/RepositoryLoadHelper$RepoLoadStatus;", "Lcom/ustadmobile/port/android/view/ListStatusRecyclerViewAdapter$StatusViewHolder;", "Landroidx/lifecycle/Observer;", "lifecycleOwner", "Landroidx/lifecycle/LifecycleOwner;", "emptyStateString", "", "emptyStateDrawableId", "", "(Landroidx/lifecycle/LifecycleOwner;Ljava/lang/String;I)V", "getEmptyStateDrawableId", "()I", "getEmptyStateString", "()Ljava/lang/String;", "getLifecycleOwner", "()Landroidx/lifecycle/LifecycleOwner;", "setLifecycleOwner", "(Landroidx/lifecycle/LifecycleOwner;)V", "mediatorLiveData", "Lcom/ustadmobile/port/android/view/ListStatusRecyclerViewAdapter$ListStatusMediatorLiveData;", "value", "Landroidx/lifecycle/LiveData;", "Landroidx/paging/PagedList;", "pagedListLiveData", "getPagedListLiveData", "()Landroidx/lifecycle/LiveData;", "setPagedListLiveData", "(Landroidx/lifecycle/LiveData;)V", "repositoryLoadStatus", "getRepositoryLoadStatus", "setRepositoryLoadStatus", "onAttachedToRecyclerView", "", "recyclerView", "Landroidx/recyclerview/widget/RecyclerView;", "onBindViewHolder", "holder", "position", "onChanged", "t", "onCreateViewHolder", "parent", "Landroid/view/ViewGroup;", "viewType", "onDetachedFromRecyclerView", "Companion", "ListStatusMediatorLiveData", "StatusViewHolder", "app-android_debug"})
public final class ListStatusRecyclerViewAdapter<T extends java.lang.Object> extends androidx.recyclerview.widget.ListAdapter<com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus, com.ustadmobile.port.android.view.ListStatusRecyclerViewAdapter.StatusViewHolder> implements androidx.lifecycle.Observer<com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus> {
    @org.jetbrains.annotations.Nullable()
    private androidx.lifecycle.LifecycleOwner lifecycleOwner;
    @org.jetbrains.annotations.Nullable()
    private final java.lang.String emptyStateString = null;
    private final int emptyStateDrawableId = 0;
    private com.ustadmobile.port.android.view.ListStatusRecyclerViewAdapter<T>.ListStatusMediatorLiveData mediatorLiveData;
    @org.jetbrains.annotations.NotNull()
    public static final com.ustadmobile.port.android.view.ListStatusRecyclerViewAdapter.Companion Companion = null;
    @org.jetbrains.annotations.NotNull()
    private static final androidx.recyclerview.widget.DiffUtil.ItemCallback<com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus> LOAD_STATUS_DIFF_UTIL = null;
    @org.jetbrains.annotations.NotNull()
    private static final java.util.List<java.lang.Integer> STATUSES_TO_HIDE_IF_LOCALDATA_LOADED = null;
    @org.jetbrains.annotations.NotNull()
    @kotlin.jvm.JvmField()
    public static final java.util.Map<java.lang.Integer, java.lang.Integer> MAP_STATUS_STRINGS = null;
    @org.jetbrains.annotations.NotNull()
    @kotlin.jvm.JvmField()
    public static final java.util.Map<java.lang.Integer, java.lang.Integer> MAP_ICON_IMAGEIDS = null;
    
    public ListStatusRecyclerViewAdapter(@org.jetbrains.annotations.Nullable()
    androidx.lifecycle.LifecycleOwner lifecycleOwner, @org.jetbrains.annotations.Nullable()
    java.lang.String emptyStateString, int emptyStateDrawableId) {
        super(null);
    }
    
    @org.jetbrains.annotations.Nullable()
    public final androidx.lifecycle.LifecycleOwner getLifecycleOwner() {
        return null;
    }
    
    public final void setLifecycleOwner(@org.jetbrains.annotations.Nullable()
    androidx.lifecycle.LifecycleOwner p0) {
    }
    
    @org.jetbrains.annotations.Nullable()
    public final java.lang.String getEmptyStateString() {
        return null;
    }
    
    public final int getEmptyStateDrawableId() {
        return 0;
    }
    
    @java.lang.Override()
    public void onAttachedToRecyclerView(@org.jetbrains.annotations.NotNull()
    androidx.recyclerview.widget.RecyclerView recyclerView) {
    }
    
    @java.lang.Override()
    public void onDetachedFromRecyclerView(@org.jetbrains.annotations.NotNull()
    androidx.recyclerview.widget.RecyclerView recyclerView) {
    }
    
    @java.lang.Override()
    public void onChanged(@org.jetbrains.annotations.Nullable()
    com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus t) {
    }
    
    @org.jetbrains.annotations.Nullable()
    public final androidx.lifecycle.LiveData<com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus> getRepositoryLoadStatus() {
        return null;
    }
    
    public final void setRepositoryLoadStatus(@org.jetbrains.annotations.Nullable()
    androidx.lifecycle.LiveData<com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus> value) {
    }
    
    @org.jetbrains.annotations.Nullable()
    public final androidx.lifecycle.LiveData<androidx.paging.PagedList<T>> getPagedListLiveData() {
        return null;
    }
    
    public final void setPagedListLiveData(@org.jetbrains.annotations.Nullable()
    androidx.lifecycle.LiveData<androidx.paging.PagedList<T>> value) {
    }
    
    @org.jetbrains.annotations.NotNull()
    @java.lang.Override()
    public com.ustadmobile.port.android.view.ListStatusRecyclerViewAdapter.StatusViewHolder 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.ListStatusRecyclerViewAdapter.StatusViewHolder holder, int position) {
    }
    
    @kotlin.Metadata(mv = {1, 7, 1}, k = 1, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u0002\n\u0000\b\u0082\u0004\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0003J\b\u0010\u0011\u001a\u00020\u0012H\u0002R\u0010\u0010\u0004\u001a\u0004\u0018\u00010\u0002X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0005\u001a\b\u0012\u0002\b\u0003\u0018\u00010\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R@\u0010\t\u001a\u0010\u0012\n\u0012\b\u0012\u0004\u0012\u00028\u00000\u0006\u0018\u00010\b2\u0014\u0010\u0007\u001a\u0010\u0012\n\u0012\b\u0012\u0004\u0012\u00028\u00000\u0006\u0018\u00010\b@FX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\n\u0010\u000b\"\u0004\b\f\u0010\rR4\u0010\u000e\u001a\n\u0012\u0004\u0012\u00020\u0002\u0018\u00010\b2\u000e\u0010\u0007\u001a\n\u0012\u0004\u0012\u00020\u0002\u0018\u00010\b@FX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u000f\u0010\u000b\"\u0004\b\u0010\u0010\r\u00a8\u0006\u0013"}, d2 = {"Lcom/ustadmobile/port/android/view/ListStatusRecyclerViewAdapter$ListStatusMediatorLiveData;", "Landroidx/lifecycle/MediatorLiveData;", "Lcom/ustadmobile/door/RepositoryLoadHelper$RepoLoadStatus;", "(Lcom/ustadmobile/port/android/view/ListStatusRecyclerViewAdapter;)V", "currentLoadStatus", "currentPagedList", "Landroidx/paging/PagedList;", "value", "Landroidx/lifecycle/LiveData;", "pagedListLiveData", "getPagedListLiveData", "()Landroidx/lifecycle/LiveData;", "setPagedListLiveData", "(Landroidx/lifecycle/LiveData;)V", "repoLoadStatus", "getRepoLoadStatus", "setRepoLoadStatus", "emitLoadStatus", "", "app-android_debug"})
    final class ListStatusMediatorLiveData extends androidx.lifecycle.MediatorLiveData<com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus> {
        private androidx.paging.PagedList<?> currentPagedList;
        private com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus currentLoadStatus;
        @org.jetbrains.annotations.Nullable()
        private androidx.lifecycle.LiveData<androidx.paging.PagedList<T>> pagedListLiveData;
        @org.jetbrains.annotations.Nullable()
        private androidx.lifecycle.LiveData<com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus> repoLoadStatus;
        
        public ListStatusMediatorLiveData() {
            super();
        }
        
        @org.jetbrains.annotations.Nullable()
        public final androidx.lifecycle.LiveData<androidx.paging.PagedList<T>> getPagedListLiveData() {
            return null;
        }
        
        public final void setPagedListLiveData(@org.jetbrains.annotations.Nullable()
        androidx.lifecycle.LiveData<androidx.paging.PagedList<T>> value) {
        }
        
        @org.jetbrains.annotations.Nullable()
        public final androidx.lifecycle.LiveData<com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus> getRepoLoadStatus() {
            return null;
        }
        
        public final void setRepoLoadStatus(@org.jetbrains.annotations.Nullable()
        androidx.lifecycle.LiveData<com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus> value) {
        }
        
        private final void emitLoadStatus() {
        }
    }
    
    @kotlin.Metadata(mv = {1, 7, 1}, k = 1, d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006\u00a8\u0006\u0007"}, d2 = {"Lcom/ustadmobile/port/android/view/ListStatusRecyclerViewAdapter$StatusViewHolder;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "binding", "Lcom/toughra/ustadmobile/databinding/ItemListStatusBinding;", "(Lcom/toughra/ustadmobile/databinding/ItemListStatusBinding;)V", "getBinding", "()Lcom/toughra/ustadmobile/databinding/ItemListStatusBinding;", "app-android_debug"})
    public static final class StatusViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder {
        @org.jetbrains.annotations.NotNull()
        private final com.toughra.ustadmobile.databinding.ItemListStatusBinding binding = null;
        
        public StatusViewHolder(@org.jetbrains.annotations.NotNull()
        com.toughra.ustadmobile.databinding.ItemListStatusBinding binding) {
            super(null);
        }
        
        @org.jetbrains.annotations.NotNull()
        public final com.toughra.ustadmobile.databinding.ItemListStatusBinding getBinding() {
            return null;
        }
    }
    
    @kotlin.Metadata(mv = {1, 7, 1}, k = 1, d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010$\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002R\u0017\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u001c\u0010\b\u001a\u000e\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020\n0\t8\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u001c\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020\n0\t8\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0017\u0010\f\u001a\b\u0012\u0004\u0012\u00020\n0\r\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000f\u00a8\u0006\u0010"}, d2 = {"Lcom/ustadmobile/port/android/view/ListStatusRecyclerViewAdapter$Companion;", "", "()V", "LOAD_STATUS_DIFF_UTIL", "Landroidx/recyclerview/widget/DiffUtil$ItemCallback;", "Lcom/ustadmobile/door/RepositoryLoadHelper$RepoLoadStatus;", "getLOAD_STATUS_DIFF_UTIL", "()Landroidx/recyclerview/widget/DiffUtil$ItemCallback;", "MAP_ICON_IMAGEIDS", "", "", "MAP_STATUS_STRINGS", "STATUSES_TO_HIDE_IF_LOCALDATA_LOADED", "", "getSTATUSES_TO_HIDE_IF_LOCALDATA_LOADED", "()Ljava/util/List;", "app-android_debug"})
    public static final class Companion {
        
        private Companion() {
            super();
        }
        
        @org.jetbrains.annotations.NotNull()
        public final androidx.recyclerview.widget.DiffUtil.ItemCallback<com.ustadmobile.door.RepositoryLoadHelper.RepoLoadStatus> getLOAD_STATUS_DIFF_UTIL() {
            return null;
        }
        
        @org.jetbrains.annotations.NotNull()
        public final java.util.List<java.lang.Integer> getSTATUSES_TO_HIDE_IF_LOCALDATA_LOADED() {
            return null;
        }
    }
}