package net.letime.lecjoa.fragment;

import java.lang.System;

/**
 * * Created by charlag on 26/10/2017.
 * *
 * * Fragment with multiple columns of media previews for the specified account.
 */
@kotlin.Metadata(mv = {1, 1, 10}, bv = {1, 0, 2}, k = 1, d1 = {"\u0000z\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\b\u0003\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010!\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\u0003\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004*\u0002\r\u0010\u0018\u0000 -2\u00020\u00012\u00020\u0002:\u0003-./B\u0005\u00a2\u0006\u0002\u0010\u0003J&\u0010\u001a\u001a\u0004\u0018\u00010\u001b2\u0006\u0010\u001c\u001a\u00020\u001d2\b\u0010\u001e\u001a\u0004\u0018\u00010\u001f2\b\u0010 \u001a\u0004\u0018\u00010!H\u0016J\u001a\u0010\"\u001a\u00020#2\u0006\u0010$\u001a\u00020\u001b2\b\u0010 \u001a\u0004\u0018\u00010!H\u0016J\u0010\u0010%\u001a\u00020#2\u0006\u0010&\u001a\u00020\'H\u0016J(\u0010(\u001a\u00020#2\f\u0010)\u001a\b\u0012\u0004\u0012\u00020*0\u00142\u0006\u0010+\u001a\u00020,2\b\u0010$\u001a\u0004\u0018\u00010\u001bH\u0002R\u0012\u0010\u0004\u001a\u00060\u0005R\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001e\u0010\u0006\u001a\u00020\u00078\u0006@\u0006X\u0087.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\b\u0010\t\"\u0004\b\n\u0010\u000bR\u0010\u0010\f\u001a\u00020\rX\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\u000eR\u0010\u0010\u000f\u001a\u00020\u0010X\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\u0011R\u001c\u0010\u0012\u001a\u0010\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00150\u0014\u0018\u00010\u0013X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0016\u001a\u00020\u0017X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0018\u001a\b\u0012\u0004\u0012\u00020\u00150\u0019X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u00060"}, d2 = {"Lnet/letime/lecjoa/fragment/AccountMediaFragment;", "Lnet/letime/lecjoa/fragment/BaseFragment;", "Lnet/letime/lecjoa/di/Injectable;", "()V", "adapter", "Lnet/letime/lecjoa/fragment/AccountMediaFragment$MediaGridAdapter;", "api", "Lnet/letime/lecjoa/network/MastodonApi;", "getApi", "()Lnet/letime/lecjoa/network/MastodonApi;", "setApi", "(Lnet/letime/lecjoa/network/MastodonApi;)V", "bottomCallback", "net/letime/lecjoa/fragment/AccountMediaFragment$bottomCallback$1", "Lnet/letime/lecjoa/fragment/AccountMediaFragment$bottomCallback$1;", "callback", "net/letime/lecjoa/fragment/AccountMediaFragment$callback$1", "Lnet/letime/lecjoa/fragment/AccountMediaFragment$callback$1;", "currentCall", "Lretrofit2/Call;", "", "Lnet/letime/lecjoa/entity/Status;", "fetchingStatus", "Lnet/letime/lecjoa/fragment/AccountMediaFragment$FetchingStatus;", "statuses", "", "onCreateView", "Landroid/view/View;", "inflater", "Landroid/view/LayoutInflater;", "container", "Landroid/view/ViewGroup;", "savedInstanceState", "Landroid/os/Bundle;", "onViewCreated", "", "view", "setUserVisibleHint", "isVisibleToUser", "", "viewMedia", "items", "Lnet/letime/lecjoa/viewdata/AttachmentViewData;", "currentIndex", "", "Companion", "FetchingStatus", "MediaGridAdapter", "app_debug"})
public final class AccountMediaFragment extends net.letime.lecjoa.fragment.BaseFragment implements net.letime.lecjoa.di.Injectable {
    @org.jetbrains.annotations.NotNull()
    @javax.inject.Inject()
    public net.letime.lecjoa.network.MastodonApi api;
    private final net.letime.lecjoa.fragment.AccountMediaFragment.MediaGridAdapter adapter = null;
    private retrofit2.Call<java.util.List<net.letime.lecjoa.entity.Status>> currentCall;
    private final java.util.List<net.letime.lecjoa.entity.Status> statuses = null;
    private net.letime.lecjoa.fragment.AccountMediaFragment.FetchingStatus fetchingStatus;
    private final retrofit2.Callback<java.util.List<net.letime.lecjoa.entity.Status>> callback = null;
    private final retrofit2.Callback<java.util.List<net.letime.lecjoa.entity.Status>> bottomCallback = null;
    private static final java.lang.String ACCOUNT_ID_ARG = "account_id";
    private static final java.lang.String TAG = "AccountMediaFragment";
    public static final net.letime.lecjoa.fragment.AccountMediaFragment.Companion Companion = null;
    private java.util.HashMap _$_findViewCache;
    
    @org.jetbrains.annotations.NotNull()
    public final net.letime.lecjoa.network.MastodonApi getApi() {
        return null;
    }
    
    public final void setApi(@org.jetbrains.annotations.NotNull()
    net.letime.lecjoa.network.MastodonApi p0) {
    }
    
    @org.jetbrains.annotations.Nullable()
    @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 setUserVisibleHint(boolean isVisibleToUser) {
    }
    
    private final void viewMedia(java.util.List<net.letime.lecjoa.viewdata.AttachmentViewData> items, int currentIndex, android.view.View view) {
    }
    
    public AccountMediaFragment() {
        super();
    }
    
    @org.jetbrains.annotations.NotNull()
    public static final net.letime.lecjoa.fragment.AccountMediaFragment newInstance(@org.jetbrains.annotations.NotNull()
    java.lang.String accountId) {
        return null;
    }
    
    @kotlin.Metadata(mv = {1, 1, 10}, bv = {1, 0, 2}, k = 1, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0006\b\u0082\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006\u00a8\u0006\u0007"}, d2 = {"Lnet/letime/lecjoa/fragment/AccountMediaFragment$FetchingStatus;", "", "(Ljava/lang/String;I)V", "NOT_FETCHING", "INITIAL_FETCHING", "FETCHING_BOTTOM", "REFRESHING", "app_debug"})
    static enum FetchingStatus {
        /*public static final*/ NOT_FETCHING /* = new NOT_FETCHING() */,
        /*public static final*/ INITIAL_FETCHING /* = new INITIAL_FETCHING() */,
        /*public static final*/ FETCHING_BOTTOM /* = new FETCHING_BOTTOM() */,
        /*public static final*/ REFRESHING /* = new REFRESHING() */;
        
        FetchingStatus() {
        }
    }
    
    @kotlin.Metadata(mv = {1, 1, 10}, bv = {1, 0, 2}, k = 1, d1 = {"\u0000P\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u0014\n\u0000\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010 \n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0004\u0018\u00002\u0010\u0012\f\u0012\n0\u0002R\u00060\u0000R\u00020\u00030\u0001:\u0001\"B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0014\u0010\u0012\u001a\u00020\u00132\f\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u000f0\u0015J\u0014\u0010\u0016\u001a\u00020\u00132\f\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u000f0\u0015J\b\u0010\u0017\u001a\u00020\u0006H\u0016J\u0010\u0010\u0018\u001a\u00020\u00132\u0006\u0010\u0019\u001a\u00020\u001aH\u0016J \u0010\u001b\u001a\u00020\u00132\u000e\u0010\u001c\u001a\n0\u0002R\u00060\u0000R\u00020\u00032\u0006\u0010\u001d\u001a\u00020\u0006H\u0016J \u0010\u001e\u001a\n0\u0002R\u00060\u0000R\u00020\u00032\u0006\u0010\u001f\u001a\u00020 2\u0006\u0010!\u001a\u00020\u0006H\u0016R\u001a\u0010\u0005\u001a\u00020\u0006X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\nR\u000e\u0010\u000b\u001a\u00020\fX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u000f0\u000eX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0010\u001a\u00020\u0011X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006#"}, d2 = {"Lnet/letime/lecjoa/fragment/AccountMediaFragment$MediaGridAdapter;", "Landroid/support/v7/widget/RecyclerView$Adapter;", "Lnet/letime/lecjoa/fragment/AccountMediaFragment$MediaGridAdapter$MediaViewHolder;", "Lnet/letime/lecjoa/fragment/AccountMediaFragment;", "(Lnet/letime/lecjoa/fragment/AccountMediaFragment;)V", "baseItemColor", "", "getBaseItemColor", "()I", "setBaseItemColor", "(I)V", "itemBgBaseHSV", "", "items", "", "Lnet/letime/lecjoa/viewdata/AttachmentViewData;", "random", "Ljava/util/Random;", "addBottom", "", "newItems", "", "addTop", "getItemCount", "onAttachedToRecyclerView", "recycler_view", "Landroid/support/v7/widget/RecyclerView;", "onBindViewHolder", "holder", "position", "onCreateViewHolder", "parent", "Landroid/view/ViewGroup;", "viewType", "MediaViewHolder", "app_debug"})
    public final class MediaGridAdapter extends android.support.v7.widget.RecyclerView.Adapter<net.letime.lecjoa.fragment.AccountMediaFragment.MediaGridAdapter.MediaViewHolder> {
        private int baseItemColor;
        private final java.util.List<net.letime.lecjoa.viewdata.AttachmentViewData> items = null;
        private final float[] itemBgBaseHSV = null;
        private final java.util.Random random = null;
        
        public final int getBaseItemColor() {
            return 0;
        }
        
        public final void setBaseItemColor(int p0) {
        }
        
        public final void addTop(@org.jetbrains.annotations.NotNull()
        java.util.List<net.letime.lecjoa.viewdata.AttachmentViewData> newItems) {
        }
        
        public final void addBottom(@org.jetbrains.annotations.NotNull()
        java.util.List<net.letime.lecjoa.viewdata.AttachmentViewData> newItems) {
        }
        
        @java.lang.Override()
        public void onAttachedToRecyclerView(@org.jetbrains.annotations.NotNull()
        android.support.v7.widget.RecyclerView recycler_view) {
        }
        
        @org.jetbrains.annotations.NotNull()
        @java.lang.Override()
        public net.letime.lecjoa.fragment.AccountMediaFragment.MediaGridAdapter.MediaViewHolder onCreateViewHolder(@org.jetbrains.annotations.NotNull()
        android.view.ViewGroup parent, int viewType) {
            return null;
        }
        
        @java.lang.Override()
        public int getItemCount() {
            return 0;
        }
        
        @java.lang.Override()
        public void onBindViewHolder(@org.jetbrains.annotations.NotNull()
        net.letime.lecjoa.fragment.AccountMediaFragment.MediaGridAdapter.MediaViewHolder holder, int position) {
        }
        
        public MediaGridAdapter() {
            super();
        }
        
        @kotlin.Metadata(mv = {1, 1, 10}, bv = {1, 0, 2}, k = 1, d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0086\u0004\u0018\u00002\u00020\u00012\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0012\u0010\b\u001a\u00020\t2\b\u0010\n\u001a\u0004\u0018\u00010\u000bH\u0016R\u0011\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007\u00a8\u0006\f"}, d2 = {"Lnet/letime/lecjoa/fragment/AccountMediaFragment$MediaGridAdapter$MediaViewHolder;", "Landroid/support/v7/widget/RecyclerView$ViewHolder;", "Landroid/view/View$OnClickListener;", "imageView", "Landroid/widget/ImageView;", "(Lnet/letime/lecjoa/fragment/AccountMediaFragment$MediaGridAdapter;Landroid/widget/ImageView;)V", "getImageView", "()Landroid/widget/ImageView;", "onClick", "", "v", "Landroid/view/View;", "app_debug"})
        public final class MediaViewHolder extends android.support.v7.widget.RecyclerView.ViewHolder implements android.view.View.OnClickListener {
            @org.jetbrains.annotations.NotNull()
            private final android.widget.ImageView imageView = null;
            
            @java.lang.Override()
            public void onClick(@org.jetbrains.annotations.Nullable()
            android.view.View v) {
            }
            
            @org.jetbrains.annotations.NotNull()
            public final android.widget.ImageView getImageView() {
                return null;
            }
            
            public MediaViewHolder(@org.jetbrains.annotations.NotNull()
            android.widget.ImageView imageView) {
                super(null);
            }
        }
    }
    
    @kotlin.Metadata(mv = {1, 1, 10}, bv = {1, 0, 2}, k = 1, d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\u0004H\u0007R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\t"}, d2 = {"Lnet/letime/lecjoa/fragment/AccountMediaFragment$Companion;", "", "()V", "ACCOUNT_ID_ARG", "", "TAG", "newInstance", "Lnet/letime/lecjoa/fragment/AccountMediaFragment;", "accountId", "app_debug"})
    public static final class Companion {
        
        @org.jetbrains.annotations.NotNull()
        public final net.letime.lecjoa.fragment.AccountMediaFragment newInstance(@org.jetbrains.annotations.NotNull()
        java.lang.String accountId) {
            return null;
        }
        
        private Companion() {
            super();
        }
    }
}