
/**
 * This file is automatically generated by wheat-build.
 * Do not modify this file -- YOUR CHANGES WILL BE ERASED!
 */

package x7c1.linen.res.layout;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import x7c1.linen.R;
import x7c1.linen.glue.res.layout.SettingPresetTabSelected;
import x7c1.wheat.ancient.resource.ViewHolderProvider;
import x7c1.wheat.ancient.resource.ViewHolderProviderFactory;

public class SettingPresetTabSelectedProvider implements ViewHolderProvider<SettingPresetTabSelected> {

    private final LayoutInflater inflater;

    public SettingPresetTabSelectedProvider(Context context){
        this.inflater = LayoutInflater.from(context);
    }

    public SettingPresetTabSelectedProvider(LayoutInflater inflater){
        this.inflater = inflater;
    }

    @Override
    public int layoutId(){
        return R.layout.setting_preset_tab__selected;
    }

    @Override
    public SettingPresetTabSelected inflateOn(ViewGroup parent){
        return inflate(parent, false);
    }

    @Override
    public SettingPresetTabSelected inflate(ViewGroup parent, boolean attachToRoot){
        View view = inflater.inflate(R.layout.setting_preset_tab__selected, parent, attachToRoot);
        return factory().createViewHolder(view);
    }

    public static ViewHolderProviderFactory<SettingPresetTabSelected> factory(){
        return new ViewHolderProviderFactory<SettingPresetTabSelected>() {
            @Override
            public ViewHolderProvider<SettingPresetTabSelected> create(LayoutInflater inflater){
                return new SettingPresetTabSelectedProvider(inflater);
            }
            @Override
            public ViewHolderProvider<SettingPresetTabSelected> create(Context context){
                return new SettingPresetTabSelectedProvider(context);
            }
            @Override
            public SettingPresetTabSelected createViewHolder(View view) {
                return new SettingPresetTabSelected(
                        view,
                        (android.support.v7.widget.RecyclerView) view.findViewById(R.id.setting_preset_tab__selected__channel_list)
                );
            }
        };
    }
}

@@ -242,16 +242,21 @@
 iew.View
+Group
 ;%0Aimport
@@ -277,95 +277,55 @@
 View
-Group
 ;%0A
-%0A
 import 
-x7c1.linen.R;%0Aimport x7c1.linen.glue.res.layout.SettingPresetTabSelected
+android.support.v7.widget.RecyclerView
 ;%0Aim
@@ -438,16 +438,97 @@
 Factory;
+%0Aimport x7c1.linen.R;%0Aimport x7c1.linen.glue.res.layout.SettingPresetTabSelected;
 %0A%0Apublic
@@ -1377,32 +1377,137 @@
 r(view);%0A    %7D%0A%0A
+    @Override%0A    public SettingPresetTabSelected inflate()%7B%0A        return inflate(null, false);%0A    %7D%0A%0A
     public stati
@@ -2138,17 +2138,16 @@
 ew view)
- 
 %7B%0A      
@@ -2217,22 +2217,14 @@
     
-    
 view,%0A
-    
     

add inflate method