// Path: app/src/main/java/org/xdty/kindle/application/Application.java
// public class Application extends android.app.Application {
// 
//     private static AppComponent sAppComponent;
// 
//     @Override
//     public void onCreate() {
//         super.onCreate();
//         sAppComponent = DaggerAppComponent.builder().appModule(new AppModule(this)).build();
//     }
// 
//     public static AppComponent getAppComponent() {
//         return sAppComponent;
//     }
// 
// }


import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.RequestManager;
import org.xdty.kindle.R;
import org.xdty.kindle.application.Application;
import org.xdty.kindle.module.Book;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
package org.xdty.kindle.view;






public class BooksAdapter extends RecyclerView.Adapter<BooksAdapter.ViewHolder> {

    @Inject
    RequestManager mGlideRequest;
    private List<Book> mBooks = new ArrayList<>();
    private ItemClickListener mItemClickListener;

    public BooksAdapter() {
// Path: app/src/main/java/org/xdty/kindle/application/Application.java
// public class Application extends android.app.Application {
// 
//     private static AppComponent sAppComponent;
// 
//     @Override
//     public void onCreate() {
//         super.onCreate();
//         sAppComponent = DaggerAppComponent.builder().appModule(new AppModule(this)).build();
//     }
// 
//     public static AppComponent getAppComponent() {
//         return sAppComponent;
//     }
// 
// }


// Path: app/src/main/java/org/xdty/kindle/view/BooksAdapter.java
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.RequestManager;
import org.xdty.kindle.R;
import org.xdty.kindle.application.Application;
import org.xdty.kindle.module.Book;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;

package org.xdty.kindle.view;






public class BooksAdapter extends RecyclerView.Adapter<BooksAdapter.ViewHolder> {

    @Inject
    RequestManager mGlideRequest;
    private List<Book> mBooks = new ArrayList<>();
    private ItemClickListener mItemClickListener;

    public BooksAdapter() {
        Application.getAppComponent().inject(this);