// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/data/AndroidPlatform.java
// public class AndroidPlatform {
//   private static final String FILE_PATH = "https://raw.githubusercontent.com/kimkevin/AndroidStarterKit/master/assets/";
//   private static final String EXTENSION_NAME = ".png";
// 
//   private String name;
//   private String verCode;
//   private int apiLevel;
//   private String logoUrl;
// 
//   public AndroidPlatform(String name, String verCode, int apiLevel) {
//     this.name = name;
//     this.verCode = verCode;
//     this.apiLevel = apiLevel;
//     this.logoUrl = FILE_PATH + name + EXTENSION_NAME;
//   }
// 
//   public String getName() {
//     return name.toUpperCase() + " " + apiLevel;
//   }
// 
//   public void setName(String name) {
//     this.name = name;
//   }
// 
//   public String getVerCode() {
//     return "Android " + verCode;
//   }
// 
//   public void setVerCode(String version) {
//     this.verCode = version;
//   }
// 
//   public int getApiLevel() {
//     return apiLevel;
//   }
// 
//   public void setApiLevel(int apiLevel) {
//     this.apiLevel = apiLevel;
//   }
// 
//   public String getLogoUrl() {
//     return logoUrl;
//   }
// 
//   public void setLogoUrl(String logoUrl) {
//     this.logoUrl = logoUrl;
//   }
// }


import android.content.Context;
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.androidstarterkit.module.data.AndroidPlatform;
import com.androidstarterkit.module.R;
import com.bumptech.glide.Glide;
import java.util.List;
package com.androidstarterkit.module.ui.adapter;




public class RecyclerViewAdapter extends RecyclerView.Adapter<RecyclerViewAdapter.ViewHolder> {
  private Context context;
  private List<AndroidPlatform> platforms;

  public RecyclerViewAdapter(Context context, List<AndroidPlatform> platforms) {
    this.context = context;
    this.platforms = platforms;
  }

  @Override
  public RecyclerViewAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
    View v = LayoutInflater.from(context).inflate(R.layout.layout_list_item, parent, false);
    return new ViewHolder(v);
  }

  @Override
  public void onBindViewHolder(final RecyclerViewAdapter.ViewHolder holder, final int position) {
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/data/AndroidPlatform.java
// public class AndroidPlatform {
//   private static final String FILE_PATH = "https://raw.githubusercontent.com/kimkevin/AndroidStarterKit/master/assets/";
//   private static final String EXTENSION_NAME = ".png";
// 
//   private String name;
//   private String verCode;
//   private int apiLevel;
//   private String logoUrl;
// 
//   public AndroidPlatform(String name, String verCode, int apiLevel) {
//     this.name = name;
//     this.verCode = verCode;
//     this.apiLevel = apiLevel;
//     this.logoUrl = FILE_PATH + name + EXTENSION_NAME;
//   }
// 
//   public String getName() {
//     return name.toUpperCase() + " " + apiLevel;
//   }
// 
//   public void setName(String name) {
//     this.name = name;
//   }
// 
//   public String getVerCode() {
//     return "Android " + verCode;
//   }
// 
//   public void setVerCode(String version) {
//     this.verCode = version;
//   }
// 
//   public int getApiLevel() {
//     return apiLevel;
//   }
// 
//   public void setApiLevel(int apiLevel) {
//     this.apiLevel = apiLevel;
//   }
// 
//   public String getLogoUrl() {
//     return logoUrl;
//   }
// 
//   public void setLogoUrl(String logoUrl) {
//     this.logoUrl = logoUrl;
//   }
// }


// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/ui/adapter/RecyclerViewAdapter.java
import android.content.Context;
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.androidstarterkit.module.data.AndroidPlatform;
import com.androidstarterkit.module.R;
import com.bumptech.glide.Glide;
import java.util.List;

package com.androidstarterkit.module.ui.adapter;




public class RecyclerViewAdapter extends RecyclerView.Adapter<RecyclerViewAdapter.ViewHolder> {
  private Context context;
  private List<AndroidPlatform> platforms;

  public RecyclerViewAdapter(Context context, List<AndroidPlatform> platforms) {
    this.context = context;
    this.platforms = platforms;
  }

  @Override
  public RecyclerViewAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
    View v = LayoutInflater.from(context).inflate(R.layout.layout_list_item, parent, false);
    return new ViewHolder(v);
  }

  @Override
  public void onBindViewHolder(final RecyclerViewAdapter.ViewHolder holder, final int position) {
    AndroidPlatform platform = platforms.get(position);