package com.ustadmobile.port.android.view;

import java.lang.System;

@kotlin.Metadata(mv = {1, 6, 0}, k = 1, d1 = {"\u0000\u0082\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\b\u0018\u0000 52\b\u0012\u0004\u0012\u00020\u00020\u00012\u00020\u00032\u00020\u0004:\u000556789B\u0005\u00a2\u0006\u0002\u0010\u0005J$\u0010)\u001a\u00020*2\u0006\u0010+\u001a\u00020,2\b\u0010-\u001a\u0004\u0018\u00010.2\b\u0010/\u001a\u0004\u0018\u000100H\u0016J\b\u00101\u001a\u000202H\u0016J\u001a\u00103\u001a\u0002022\u0006\u00104\u001a\u00020*2\b\u0010/\u001a\u0004\u0018\u000100H\u0016R\u001c\u0010\u0006\u001a\u0010\u0012\n\u0012\b\u0012\u0004\u0012\u00020\t0\b\u0018\u00010\u0007X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001e\u0010\n\u001a\f\u0012\u0002\b\u0003\u0012\u0002\b\u0003\u0018\u00010\u000b8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\f\u0010\rR(\u0010\u000f\u001a\u0004\u0018\u00010\u00022\b\u0010\u000e\u001a\u0004\u0018\u00010\u0002@VX\u0096\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0010\u0010\u0011\"\u0004\b\u0012\u0010\u0013R\u0010\u0010\u0014\u001a\u0004\u0018\u00010\u0015X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0016\u001a\u0004\u0018\u00010\u0017X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0018\u001a\u0004\u0018\u00010\u0019X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u001a\u001a\b\u0018\u00010\u001bR\u00020\u0000X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u001c\u001a\u0004\u0018\u00010\u001dX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u001e\u001a\u0004\u0018\u00010\u001fX\u0082\u000e\u00a2\u0006\u0002\n\u0000R@\u0010\"\u001a\u0010\u0012\u0004\u0012\u00020!\u0012\u0004\u0012\u00020\t\u0018\u00010 2\u0014\u0010\u000e\u001a\u0010\u0012\u0004\u0012\u00020!\u0012\u0004\u0012\u00020\t\u0018\u00010 @VX\u0096\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b#\u0010$\"\u0004\b%\u0010&R\u0016\u0010\'\u001a\n\u0012\u0004\u0012\u00020\t\u0018\u00010(X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006:"}, d2 = {"Lcom/ustadmobile/port/android/view/SiteDetailFragment;", "Lcom/ustadmobile/port/android/view/UstadDetailFragment;", "Lcom/ustadmobile/lib/db/entities/Site;", "Lcom/ustadmobile/core/view/SiteDetailView;", "Lcom/ustadmobile/port/android/view/WorkspaceDetailFragmentEventHandler;", "()V", "currentSiteTermsLiveData", "Landroidx/lifecycle/LiveData;", "Landroidx/paging/PagedList;", "Lcom/ustadmobile/lib/db/entities/SiteTermsWithLanguage;", "detailPresenter", "Lcom/ustadmobile/core/controller/UstadDetailPresenter;", "getDetailPresenter", "()Lcom/ustadmobile/core/controller/UstadDetailPresenter;", "value", "entity", "getEntity", "()Lcom/ustadmobile/lib/db/entities/Site;", "setEntity", "(Lcom/ustadmobile/lib/db/entities/Site;)V", "mBinding", "Lcom/toughra/ustadmobile/databinding/FragmentSiteDetailBinding;", "mMergeAdapter", "Landroidx/recyclerview/widget/ConcatAdapter;", "mPresenter", "Lcom/ustadmobile/core/controller/SiteDetailPresenter;", "mSiteTermsRecyclerViewAdapter", "Lcom/ustadmobile/port/android/view/SiteDetailFragment$SiteTermsRecyclerViewAdapter;", "repo", "Lcom/ustadmobile/core/db/UmAppDatabase;", "siteRecyclerViewAdapter", "Lcom/ustadmobile/port/android/view/SiteDetailFragment$SiteRecyclerViewAdapter;", "Landroidx/paging/DataSource$Factory;", "", "siteTermsList", "getSiteTermsList", "()Landroidx/paging/DataSource$Factory;", "setSiteTermsList", "(Landroidx/paging/DataSource$Factory;)V", "siteTermsListSubmitObserver", "Lcom/ustadmobile/port/android/view/util/ListSubmitObserver;", "onCreateView", "Landroid/view/View;", "inflater", "Landroid/view/LayoutInflater;", "container", "Landroid/view/ViewGroup;", "savedInstanceState", "Landroid/os/Bundle;", "onDestroyView", "", "onViewCreated", "view", "Companion", "SiteRecyclerViewAdapter", "SiteTermsRecyclerViewAdapter", "SiteTermsViewHolder", "SiteViewHolder", "app-android_debug"})
public final class SiteDetailFragment extends com.ustadmobile.port.android.view.UstadDetailFragment<com.ustadmobile.lib.db.entities.Site> implements com.ustadmobile.core.view.SiteDetailView, com.ustadmobile.port.android.view.WorkspaceDetailFragmentEventHandler {
    private com.toughra.ustadmobile.databinding.FragmentSiteDetailBinding mBinding;
    private com.ustadmobile.core.controller.SiteDetailPresenter mPresenter;
    private com.ustadmobile.port.android.view.SiteDetailFragment.SiteRecyclerViewAdapter siteRecyclerViewAdapter;
    private com.ustadmobile.port.android.view.SiteDetailFragment.SiteTermsRecyclerViewAdapter mSiteTermsRecyclerViewAdapter;
    private androidx.recyclerview.widget.ConcatAdapter mMergeAdapter;
    @org.jetbrains.annotations.Nullable()
    private com.ustadmobile.lib.db.entities.Site entity;
    private androidx.lifecycle.LiveData<androidx.paging.PagedList<com.ustadmobile.lib.db.entities.SiteTermsWithLanguage>> currentSiteTermsLiveData;
    private com.ustadmobile.port.android.view.util.ListSubmitObserver<com.ustadmobile.lib.db.entities.SiteTermsWithLanguage> siteTermsListSubmitObserver;
    private com.ustadmobile.core.db.UmAppDatabase repo;
    @org.jetbrains.annotations.Nullable()
    private androidx.paging.DataSource.Factory<java.lang.Integer, com.ustadmobile.lib.db.entities.SiteTermsWithLanguage> siteTermsList;
    @org.jetbrains.annotations.NotNull()
    public static final com.ustadmobile.port.android.view.SiteDetailFragment.Companion Companion = null;
    @org.jetbrains.annotations.NotNull()
    private static final androidx.recyclerview.widget.DiffUtil.ItemCallback<com.ustadmobile.lib.db.entities.Site> DIFFUTIL_SITE = null;
    @org.jetbrains.annotations.NotNull()
    private static final androidx.recyclerview.widget.DiffUtil.ItemCallback<com.ustadmobile.lib.db.entities.SiteTermsWithLanguage> DIFFUTIL_SITE_TERMS = null;
    
    public SiteDetailFragment() {
        super();
    }
    
    @org.jetbrains.annotations.Nullable()
    @java.lang.Override()
    public com.ustadmobile.core.controller.UstadDetailPresenter<?, ?> getDetailPresenter() {
        return null;
    }
    
    @org.jetbrains.annotations.Nullable()
    @java.lang.Override()
    public com.ustadmobile.lib.db.entities.Site getEntity() {
        return null;
    }
    
    @java.lang.Override()
    public void setEntity(@org.jetbrains.annotations.Nullable()
    com.ustadmobile.lib.db.entities.Site value) {
    }
    
    @org.jetbrains.annotations.Nullable()
    @java.lang.Override()
    public androidx.paging.DataSource.Factory<java.lang.Integer, com.ustadmobile.lib.db.entities.SiteTermsWithLanguage> getSiteTermsList() {
        return null;
    }
    
    @java.lang.Override()
    public void setSiteTermsList(@org.jetbrains.annotations.Nullable()
    androidx.paging.DataSource.Factory<java.lang.Integer, com.ustadmobile.lib.db.entities.SiteTermsWithLanguage> value) {
    }
    
    @org.jetbrains.annotations.NotNull()
    @java.lang.Override()
    public android.view.View onCreateView(@org.jetbrains.annotations.NotNull()
    android.view.LayoutInflater inflater, @org.jetbrains.annotations.Nullable()
    android.view.ViewGroup container, @org.jetbrains.annotations.Nullable()
    android.os.Bundle savedInstanceState) {
        return null;
    }
    
    @java.lang.Override()
    public void onViewCreated(@org.jetbrains.annotations.NotNull()
    android.view.View view, @org.jetbrains.annotations.Nullable()
    android.os.Bundle savedInstanceState) {
    }
    
    @java.lang.Override()
    public void onDestroyView() {
    }
    
    @kotlin.Metadata(mv = {1, 6, 0}, 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/SiteDetailFragment$SiteViewHolder;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "mBinding", "Lcom/toughra/ustadmobile/databinding/ItemSiteBinding;", "(Lcom/toughra/ustadmobile/databinding/ItemSiteBinding;)V", "getMBinding", "()Lcom/toughra/ustadmobile/databinding/ItemSiteBinding;", "app-android_debug"})
    public static final class SiteViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder {
        @org.jetbrains.annotations.NotNull()
        private final com.toughra.ustadmobile.databinding.ItemSiteBinding mBinding = null;
        
        public SiteViewHolder(@org.jetbrains.annotations.NotNull()
        com.toughra.ustadmobile.databinding.ItemSiteBinding mBinding) {
            super(null);
        }
        
        @org.jetbrains.annotations.NotNull()
        public final com.toughra.ustadmobile.databinding.ItemSiteBinding getMBinding() {
            return null;
        }
    }
    
    @kotlin.Metadata(mv = {1, 6, 0}, k = 1, d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00032\u0006\u0010\b\u001a\u00020\tH\u0016J\u0018\u0010\n\u001a\u00020\u00032\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\tH\u0016\u00a8\u0006\u000e"}, d2 = {"Lcom/ustadmobile/port/android/view/SiteDetailFragment$SiteRecyclerViewAdapter;", "Landroidx/recyclerview/widget/ListAdapter;", "Lcom/ustadmobile/lib/db/entities/Site;", "Lcom/ustadmobile/port/android/view/SiteDetailFragment$SiteViewHolder;", "()V", "onBindViewHolder", "", "holder", "position", "", "onCreateViewHolder", "parent", "Landroid/view/ViewGroup;", "viewType", "app-android_debug"})
    public static final class SiteRecyclerViewAdapter extends androidx.recyclerview.widget.ListAdapter<com.ustadmobile.lib.db.entities.Site, com.ustadmobile.port.android.view.SiteDetailFragment.SiteViewHolder> {
        
        public SiteRecyclerViewAdapter() {
            super(null);
        }
        
        @org.jetbrains.annotations.NotNull()
        @java.lang.Override()
        public com.ustadmobile.port.android.view.SiteDetailFragment.SiteViewHolder 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.SiteDetailFragment.SiteViewHolder holder, int position) {
        }
    }
    
    @kotlin.Metadata(mv = {1, 6, 0}, 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/SiteDetailFragment$SiteTermsViewHolder;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "mBinding", "Lcom/toughra/ustadmobile/databinding/ItemSiteTermsBinding;", "(Lcom/toughra/ustadmobile/databinding/ItemSiteTermsBinding;)V", "getMBinding", "()Lcom/toughra/ustadmobile/databinding/ItemSiteTermsBinding;", "app-android_debug"})
    public static final class SiteTermsViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder {
        @org.jetbrains.annotations.NotNull()
        private final com.toughra.ustadmobile.databinding.ItemSiteTermsBinding mBinding = null;
        
        public SiteTermsViewHolder(@org.jetbrains.annotations.NotNull()
        com.toughra.ustadmobile.databinding.ItemSiteTermsBinding mBinding) {
            super(null);
        }
        
        @org.jetbrains.annotations.NotNull()
        public final com.toughra.ustadmobile.databinding.ItemSiteTermsBinding getMBinding() {
            return null;
        }
    }
    
    @kotlin.Metadata(mv = {1, 6, 0}, k = 1, d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0086\u0004\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00032\u0006\u0010\b\u001a\u00020\tH\u0016J\u0018\u0010\n\u001a\u00020\u00032\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\tH\u0016\u00a8\u0006\u000e"}, d2 = {"Lcom/ustadmobile/port/android/view/SiteDetailFragment$SiteTermsRecyclerViewAdapter;", "Landroidx/recyclerview/widget/ListAdapter;", "Lcom/ustadmobile/lib/db/entities/SiteTermsWithLanguage;", "Lcom/ustadmobile/port/android/view/SiteDetailFragment$SiteTermsViewHolder;", "(Lcom/ustadmobile/port/android/view/SiteDetailFragment;)V", "onBindViewHolder", "", "holder", "position", "", "onCreateViewHolder", "parent", "Landroid/view/ViewGroup;", "viewType", "app-android_debug"})
    public final class SiteTermsRecyclerViewAdapter extends androidx.recyclerview.widget.ListAdapter<com.ustadmobile.lib.db.entities.SiteTermsWithLanguage, com.ustadmobile.port.android.view.SiteDetailFragment.SiteTermsViewHolder> {
        
        public SiteTermsRecyclerViewAdapter() {
            super(null);
        }
        
        @org.jetbrains.annotations.NotNull()
        @java.lang.Override()
        public com.ustadmobile.port.android.view.SiteDetailFragment.SiteTermsViewHolder 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.SiteDetailFragment.SiteTermsViewHolder holder, int position) {
        }
    }
    
    @kotlin.Metadata(mv = {1, 6, 0}, 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\u0018\u0002\n\u0002\b\u0002\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\u0017\u0010\b\u001a\b\u0012\u0004\u0012\u00020\t0\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u0007\u00a8\u0006\u000b"}, d2 = {"Lcom/ustadmobile/port/android/view/SiteDetailFragment$Companion;", "", "()V", "DIFFUTIL_SITE", "Landroidx/recyclerview/widget/DiffUtil$ItemCallback;", "Lcom/ustadmobile/lib/db/entities/Site;", "getDIFFUTIL_SITE", "()Landroidx/recyclerview/widget/DiffUtil$ItemCallback;", "DIFFUTIL_SITE_TERMS", "Lcom/ustadmobile/lib/db/entities/SiteTermsWithLanguage;", "getDIFFUTIL_SITE_TERMS", "app-android_debug"})
    public static final class Companion {
        
        private Companion() {
            super();
        }
        
        @org.jetbrains.annotations.NotNull()
        public final androidx.recyclerview.widget.DiffUtil.ItemCallback<com.ustadmobile.lib.db.entities.Site> getDIFFUTIL_SITE() {
            return null;
        }
        
        @org.jetbrains.annotations.NotNull()
        public final androidx.recyclerview.widget.DiffUtil.ItemCallback<com.ustadmobile.lib.db.entities.SiteTermsWithLanguage> getDIFFUTIL_SITE_TERMS() {
            return null;
        }
    }
}