// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/ui/adapter/RecyclerViewAdapter.java
// 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);
// 
//     Glide.with(context).load(platform.getLogoUrl()).into(holder.logo);
//     holder.name.setText(platform.getName());
//     holder.platformVer.setText(platform.getVerCode());
//   }
// 
//   @Override
//   public int getItemCount() {
//     return platforms.size();
//   }
// 
//   static class ViewHolder extends RecyclerView.ViewHolder {
//     public ImageView logo;
//     public TextView name;
//     public TextView platformVer;
// 
//     ViewHolder(View itemView) {
//       super(itemView);
// 
//       logo = (ImageView) itemView.findViewById(R.id.img);
//       name = (TextView) itemView.findViewById(R.id.name);
//       platformVer = (TextView) itemView.findViewById(R.id.platform_ver);
//     }
//   }
// }
// 
// 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.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.androidstarterkit.module.R;
import com.androidstarterkit.module.ui.adapter.RecyclerViewAdapter;
import com.androidstarterkit.module.data.AndroidPlatform;
import java.util.ArrayList;
import java.util.List;
package com.androidstarterkit.module.ui.view;




public class RecyclerViewFragment extends Fragment {
  private static List<AndroidPlatform> platforms = new ArrayList<>();

  static {
    platforms.add(new AndroidPlatform("applepie", "1.0", 1));
    platforms.add(new AndroidPlatform("bananabread", "1.1", 2));
    platforms.add(new AndroidPlatform("cupcake", "1.5", 3));
    platforms.add(new AndroidPlatform("donut", "1.6", 4));
    platforms.add(new AndroidPlatform("eclair", "2.0", 5));
    platforms.add(new AndroidPlatform("froyo", "2.2", 8));
    platforms.add(new AndroidPlatform("gingerbread", "2.3", 9));
    platforms.add(new AndroidPlatform("honeycomb", "3.0", 11));
    platforms.add(new AndroidPlatform("icecreamsandwich", "4.0", 14));
    platforms.add(new AndroidPlatform("kitkat", "4.4", 19));
    platforms.add(new AndroidPlatform("lollipop", "5.0", 21));
    platforms.add(new AndroidPlatform("marshmallow", "6.0", 23));
    platforms.add(new AndroidPlatform("nougat", "7.0", 24));
  }

  @Nullable
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/ui/adapter/RecyclerViewAdapter.java
// 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);
// 
//     Glide.with(context).load(platform.getLogoUrl()).into(holder.logo);
//     holder.name.setText(platform.getName());
//     holder.platformVer.setText(platform.getVerCode());
//   }
// 
//   @Override
//   public int getItemCount() {
//     return platforms.size();
//   }
// 
//   static class ViewHolder extends RecyclerView.ViewHolder {
//     public ImageView logo;
//     public TextView name;
//     public TextView platformVer;
// 
//     ViewHolder(View itemView) {
//       super(itemView);
// 
//       logo = (ImageView) itemView.findViewById(R.id.img);
//       name = (TextView) itemView.findViewById(R.id.name);
//       platformVer = (TextView) itemView.findViewById(R.id.platform_ver);
//     }
//   }
// }
// 
// 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/view/RecyclerViewFragment.java
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.androidstarterkit.module.R;
import com.androidstarterkit.module.ui.adapter.RecyclerViewAdapter;
import com.androidstarterkit.module.data.AndroidPlatform;
import java.util.ArrayList;
import java.util.List;

package com.androidstarterkit.module.ui.view;




public class RecyclerViewFragment extends Fragment {
  private static List<AndroidPlatform> platforms = new ArrayList<>();

  static {
    platforms.add(new AndroidPlatform("applepie", "1.0", 1));
    platforms.add(new AndroidPlatform("bananabread", "1.1", 2));
    platforms.add(new AndroidPlatform("cupcake", "1.5", 3));
    platforms.add(new AndroidPlatform("donut", "1.6", 4));
    platforms.add(new AndroidPlatform("eclair", "2.0", 5));
    platforms.add(new AndroidPlatform("froyo", "2.2", 8));
    platforms.add(new AndroidPlatform("gingerbread", "2.3", 9));
    platforms.add(new AndroidPlatform("honeycomb", "3.0", 11));
    platforms.add(new AndroidPlatform("icecreamsandwich", "4.0", 14));
    platforms.add(new AndroidPlatform("kitkat", "4.4", 19));
    platforms.add(new AndroidPlatform("lollipop", "5.0", 21));
    platforms.add(new AndroidPlatform("marshmallow", "6.0", 23));
    platforms.add(new AndroidPlatform("nougat", "7.0", 24));
  }

  @Nullable
  @Override