// Path: app/src/main/java/com/txusballesteros/testing/presentation/MainPresenter.java
// public interface MainPresenter {
//     void onStart();
//     void onStop();
// 
//     interface View {
//         void renderDashboard(List<ImageModel> images);
//         void renderError();
//     }
// }
// 
// Path: app/src/main/java/com/txusballesteros/testing/presentation/model/ImageModel.java
// public class ImageModel {
//     private Uri url;
// 
//     private ImageModel() { }
// 
//     public Uri getUrl() {
//         return url;
//     }
// 
//     public static class Builder {
//         private ImageModel image;
// 
//         public Builder() {
//             this.image = new ImageModel();
//         }
// 
//         public Builder setUrl(Uri url) {
//             image.url = url;
//             return this;
//         }
// 
//         public ImageModel build() {
//             return image;
//         }
//     }
// }
// 
// Path: app/src/main/java/com/txusballesteros/testing/view/instrumentation/ImageLoader.java
// public interface ImageLoader {
//     void loadImageAsGif(Uri imageUrl, ImageView imageView);
// }


import com.txusballesteros.testing.view.instrumentation.ImageLoader;
import java.util.List;
import javax.inject.Inject;
import butterknife.Bind;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import com.txusballesteros.testing.R;
import com.txusballesteros.testing.presentation.MainPresenter;
import com.txusballesteros.testing.presentation.model.ImageModel;
/*
 * Copyright Txus Ballesteros 2016 (@txusballesteros)
 *
 * This file is part of some open source application.
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 * Contact: Txus Ballesteros <txus.ballesteros@gmail.com>
 */
package com.txusballesteros.testing.view;






public class MainActivity extends AbsActivity implements MainPresenter.View {
    @Inject MainPresenter presenter;
    @Inject ImageLoader imageLoader;
    @Bind(R.id.list) RecyclerView listView;
    private DashboardListAdapter listAdapter;

    @Override
    int onRequestLayout() {
        return R.layout.activity_main;
    }

// Path: app/src/main/java/com/txusballesteros/testing/presentation/MainPresenter.java
// public interface MainPresenter {
//     void onStart();
//     void onStop();
// 
//     interface View {
//         void renderDashboard(List<ImageModel> images);
//         void renderError();
//     }
// }
// 
// Path: app/src/main/java/com/txusballesteros/testing/presentation/model/ImageModel.java
// public class ImageModel {
//     private Uri url;
// 
//     private ImageModel() { }
// 
//     public Uri getUrl() {
//         return url;
//     }
// 
//     public static class Builder {
//         private ImageModel image;
// 
//         public Builder() {
//             this.image = new ImageModel();
//         }
// 
//         public Builder setUrl(Uri url) {
//             image.url = url;
//             return this;
//         }
// 
//         public ImageModel build() {
//             return image;
//         }
//     }
// }
// 
// Path: app/src/main/java/com/txusballesteros/testing/view/instrumentation/ImageLoader.java
// public interface ImageLoader {
//     void loadImageAsGif(Uri imageUrl, ImageView imageView);
// }


// Path: app/src/main/java/com/txusballesteros/testing/view/MainActivity.java
import com.txusballesteros.testing.view.instrumentation.ImageLoader;
import java.util.List;
import javax.inject.Inject;
import butterknife.Bind;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import com.txusballesteros.testing.R;
import com.txusballesteros.testing.presentation.MainPresenter;
import com.txusballesteros.testing.presentation.model.ImageModel;

/*
 * Copyright Txus Ballesteros 2016 (@txusballesteros)
 *
 * This file is part of some open source application.
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 * Contact: Txus Ballesteros <txus.ballesteros@gmail.com>
 */
package com.txusballesteros.testing.view;






public class MainActivity extends AbsActivity implements MainPresenter.View {
    @Inject MainPresenter presenter;
    @Inject ImageLoader imageLoader;
    @Bind(R.id.list) RecyclerView listView;
    private DashboardListAdapter listAdapter;

    @Override
    int onRequestLayout() {
        return R.layout.activity_main;
    }

    @Override