// Path: app/src/main/java/discovery/contentful/ui/DisplayItem.java
// public class DisplayItem {
//   public String key;
//   public String displayValue;
//   public String fieldType;
//   public CDAResource resource;
//   public String imageURI;
//   public LatLng location;
// 
//   // Array
//   public List<Object> array;
//   public String arrayItemType;
//   public String arrayLinkType;
// }


import android.content.Context;
import android.support.annotation.LayoutRes;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import discovery.contentful.ui.DisplayItem;
package discovery.contentful.preview;


public abstract class PreviewViewFactory<T extends AbsViewHolder> {
  @SuppressWarnings("unchecked")
// Path: app/src/main/java/discovery/contentful/ui/DisplayItem.java
// public class DisplayItem {
//   public String key;
//   public String displayValue;
//   public String fieldType;
//   public CDAResource resource;
//   public String imageURI;
//   public LatLng location;
// 
//   // Array
//   public List<Object> array;
//   public String arrayItemType;
//   public String arrayLinkType;
// }


// Path: app/src/main/java/discovery/contentful/preview/PreviewViewFactory.java
import android.content.Context;
import android.support.annotation.LayoutRes;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import discovery.contentful.ui.DisplayItem;

package discovery.contentful.preview;


public abstract class PreviewViewFactory<T extends AbsViewHolder> {
  @SuppressWarnings("unchecked")
  public T getView(Context context, View convertView, ViewGroup parent, DisplayItem displayItem,