// Path: sherlock/src/main/java/com/singhajit/sherlock/crashes/viewmodel/AppInfoRowViewModel.java
// public class AppInfoRowViewModel {
//   private final String attr;
//   private final String val;
// 
//   public AppInfoRowViewModel(String attr, String val) {
//     this.attr = attr;
//     this.val = val;
//   }
// 
//   public String getAttr() {
//     return attr;
//   }
// 
//   public String getVal() {
//     return val;
//   }
// }
// 
// Path: sherlock/src/main/java/com/singhajit/sherlock/crashes/viewmodel/AppInfoViewModel.java
// public class AppInfoViewModel {
//   private ArrayList<AppInfoRowViewModel> appInfoRowViewModels;
// 
//   public AppInfoViewModel(AppInfo appInfo) {
//     Map<String, String> appDetails = appInfo.getAppDetails();
//     appInfoRowViewModels = toAppInfoRowViewModels(appDetails);
//   }
// 
//   private ArrayList<AppInfoRowViewModel> toAppInfoRowViewModels(Map<String, String> appDetails) {
//     ArrayList<AppInfoRowViewModel> viewModels = new ArrayList<>();
//     for (String key : appDetails.keySet()) {
//       viewModels.add(new AppInfoRowViewModel(key, appDetails.get(key)));
//     }
//     return viewModels;
//   }
// 
//   public String getDetails() {
//     StringBuilder builder = new StringBuilder();
//     for (AppInfoRowViewModel appInfoRowViewModel : appInfoRowViewModels) {
//       builder.append(appInfoRowViewModel.getAttr() + ": " + appInfoRowViewModel.getVal() + "\n");
//     }
// 
//     return builder.toString();
//   }
// 
//   public List<AppInfoRowViewModel> getAppInfoRowViewModels() {
//     return appInfoRowViewModels;
//   }
// }


import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.singhajit.sherlock.R;
import com.singhajit.sherlock.crashes.viewmodel.AppInfoRowViewModel;
import com.singhajit.sherlock.crashes.viewmodel.AppInfoViewModel;
import java.util.List;
package com.singhajit.sherlock.crashes.adapter;




public class AppInfoAdapter extends RecyclerView.Adapter<AppInfoViewHolder> {
  private final List<AppInfoRowViewModel> appInfoViewModels;

// Path: sherlock/src/main/java/com/singhajit/sherlock/crashes/viewmodel/AppInfoRowViewModel.java
// public class AppInfoRowViewModel {
//   private final String attr;
//   private final String val;
// 
//   public AppInfoRowViewModel(String attr, String val) {
//     this.attr = attr;
//     this.val = val;
//   }
// 
//   public String getAttr() {
//     return attr;
//   }
// 
//   public String getVal() {
//     return val;
//   }
// }
// 
// Path: sherlock/src/main/java/com/singhajit/sherlock/crashes/viewmodel/AppInfoViewModel.java
// public class AppInfoViewModel {
//   private ArrayList<AppInfoRowViewModel> appInfoRowViewModels;
// 
//   public AppInfoViewModel(AppInfo appInfo) {
//     Map<String, String> appDetails = appInfo.getAppDetails();
//     appInfoRowViewModels = toAppInfoRowViewModels(appDetails);
//   }
// 
//   private ArrayList<AppInfoRowViewModel> toAppInfoRowViewModels(Map<String, String> appDetails) {
//     ArrayList<AppInfoRowViewModel> viewModels = new ArrayList<>();
//     for (String key : appDetails.keySet()) {
//       viewModels.add(new AppInfoRowViewModel(key, appDetails.get(key)));
//     }
//     return viewModels;
//   }
// 
//   public String getDetails() {
//     StringBuilder builder = new StringBuilder();
//     for (AppInfoRowViewModel appInfoRowViewModel : appInfoRowViewModels) {
//       builder.append(appInfoRowViewModel.getAttr() + ": " + appInfoRowViewModel.getVal() + "\n");
//     }
// 
//     return builder.toString();
//   }
// 
//   public List<AppInfoRowViewModel> getAppInfoRowViewModels() {
//     return appInfoRowViewModels;
//   }
// }


// Path: sherlock/src/main/java/com/singhajit/sherlock/crashes/adapter/AppInfoAdapter.java
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.singhajit.sherlock.R;
import com.singhajit.sherlock.crashes.viewmodel.AppInfoRowViewModel;
import com.singhajit.sherlock.crashes.viewmodel.AppInfoViewModel;
import java.util.List;

package com.singhajit.sherlock.crashes.adapter;




public class AppInfoAdapter extends RecyclerView.Adapter<AppInfoViewHolder> {
  private final List<AppInfoRowViewModel> appInfoViewModels;

  public AppInfoAdapter(AppInfoViewModel appInfoViewModel) {