// 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 com.singhajit.sherlock.crashes.viewmodel.AppInfoViewModel;
import java.text.SimpleDateFormat;
package com.singhajit.sherlock.core.investigation;



public class CrashViewModel {
  private Crash crash;
// 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/core/investigation/CrashViewModel.java
import com.singhajit.sherlock.crashes.viewmodel.AppInfoViewModel;
import java.text.SimpleDateFormat;

package com.singhajit.sherlock.core.investigation;



public class CrashViewModel {
  private Crash crash;
  private AppInfoViewModel appInfoViewModel;