// Path: app/src/main/java/org/xdty/kindle/contract/DetailContract.java
// public interface DetailContract {
// 
//     interface View extends BaseView<Presenter> {
//         void updateReview(String review);
// 
//         void openTab(String url);
//     }
// 
//     interface Presenter extends BasePresenter {
//         void start(Book itemId);
// 
//         void clickFab();
//     }
// }
// 
// Path: app/src/main/java/org/xdty/kindle/di/modules/DetailModule.java
// @Module
// public class DetailModule {
// 
//     private DetailContract.View mView;
// 
//     public DetailModule(DetailContract.View view) {
//         mView = view;
//     }
// 
//     @Provides
//     DetailContract.View provideView() {
//         return mView;
//     }
// 
//     @Provides
//     DetailContract.Presenter providePresenter() {
//         return new DetailPresenter(mView);
//     }
// 
// }


import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.support.customtabs.CustomTabsIntent;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.text.Html;
import android.view.View;
import android.widget.TextView;
import org.xdty.kindle.contract.DetailContract;
import org.xdty.kindle.di.DaggerDetailComponent;
import org.xdty.kindle.di.modules.DetailModule;
import org.xdty.kindle.module.Book;
import javax.inject.Inject;
import static org.xdty.kindle.R.id.review;
package org.xdty.kindle;





public class DetailActivity extends AppCompatActivity implements DetailContract.View {

    public final static String ARG_BOOK = "book";
    private static final String TAG = DetailActivity.class.getSimpleName();
    @Inject
// Path: app/src/main/java/org/xdty/kindle/contract/DetailContract.java
// public interface DetailContract {
// 
//     interface View extends BaseView<Presenter> {
//         void updateReview(String review);
// 
//         void openTab(String url);
//     }
// 
//     interface Presenter extends BasePresenter {
//         void start(Book itemId);
// 
//         void clickFab();
//     }
// }
// 
// Path: app/src/main/java/org/xdty/kindle/di/modules/DetailModule.java
// @Module
// public class DetailModule {
// 
//     private DetailContract.View mView;
// 
//     public DetailModule(DetailContract.View view) {
//         mView = view;
//     }
// 
//     @Provides
//     DetailContract.View provideView() {
//         return mView;
//     }
// 
//     @Provides
//     DetailContract.Presenter providePresenter() {
//         return new DetailPresenter(mView);
//     }
// 
// }


// Path: app/src/main/java/org/xdty/kindle/DetailActivity.java
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.support.customtabs.CustomTabsIntent;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.text.Html;
import android.view.View;
import android.widget.TextView;
import org.xdty.kindle.contract.DetailContract;
import org.xdty.kindle.di.DaggerDetailComponent;
import org.xdty.kindle.di.modules.DetailModule;
import org.xdty.kindle.module.Book;
import javax.inject.Inject;
import static org.xdty.kindle.R.id.review;

package org.xdty.kindle;





public class DetailActivity extends AppCompatActivity implements DetailContract.View {

    public final static String ARG_BOOK = "book";
    private static final String TAG = DetailActivity.class.getSimpleName();
    @Inject
    DetailContract.Presenter mPresenter;