// Path: app/src/main/java/com/lucilu/rxdynamicsearch/data/pojo/Ad.java
// @AutoValue
// public abstract class Ad {
// 
//     public abstract String header();
// 
//     public static Ad createAd(@NonNull final String header) {
//         return new AutoValue_Ad(header);
//     }
// }
// 
// Path: app/src/main/java/com/lucilu/rxdynamicsearch/utils/ViewUtils.java
// public final class ViewUtils {
// 
//     @SuppressWarnings("unchecked")
//     @NonNull
//     public static <T extends View> T find(@NonNull final Activity activity, int id) {
//         checkNotNull(activity, "The activity cannot be null");
// 
//         return (T) get(activity.findViewById(id));
//     }
// 
//     @SuppressWarnings("unchecked")
//     @NonNull
//     public static <T extends View> T find(@NonNull final View view, int id) {
//         return (T) get(view.findViewById(id));
//     }
// }


import com.lucilu.rxdynamicsearch.R;
import com.lucilu.rxdynamicsearch.data.pojo.Ad;
import com.lucilu.rxdynamicsearch.utils.ViewUtils;
import android.support.annotation.NonNull;
import android.view.View;
import android.widget.TextView;
package com.lucilu.rxdynamicsearch.ui.adapter.viewholder;



public class AdViewHolder extends SimpleViewHolder<Ad> {

    @NonNull
    private final TextView headerTextView;

    public AdViewHolder(final View itemView) {
        super(itemView);

// Path: app/src/main/java/com/lucilu/rxdynamicsearch/data/pojo/Ad.java
// @AutoValue
// public abstract class Ad {
// 
//     public abstract String header();
// 
//     public static Ad createAd(@NonNull final String header) {
//         return new AutoValue_Ad(header);
//     }
// }
// 
// Path: app/src/main/java/com/lucilu/rxdynamicsearch/utils/ViewUtils.java
// public final class ViewUtils {
// 
//     @SuppressWarnings("unchecked")
//     @NonNull
//     public static <T extends View> T find(@NonNull final Activity activity, int id) {
//         checkNotNull(activity, "The activity cannot be null");
// 
//         return (T) get(activity.findViewById(id));
//     }
// 
//     @SuppressWarnings("unchecked")
//     @NonNull
//     public static <T extends View> T find(@NonNull final View view, int id) {
//         return (T) get(view.findViewById(id));
//     }
// }


// Path: app/src/main/java/com/lucilu/rxdynamicsearch/ui/adapter/viewholder/AdViewHolder.java
import com.lucilu.rxdynamicsearch.R;
import com.lucilu.rxdynamicsearch.data.pojo.Ad;
import com.lucilu.rxdynamicsearch.utils.ViewUtils;
import android.support.annotation.NonNull;
import android.view.View;
import android.widget.TextView;

package com.lucilu.rxdynamicsearch.ui.adapter.viewholder;



public class AdViewHolder extends SimpleViewHolder<Ad> {

    @NonNull
    private final TextView headerTextView;

    public AdViewHolder(final View itemView) {
        super(itemView);

        headerTextView = ViewUtils.find(itemView, R.id.item_textView_header);