// Path: app/src/main/java/com/demo/amazing/adpter/EnterDelegate.java
// public class EnterDelegate extends BaseDelegate<EnterData> {
// 
//     public static final int TEXT_HOLDER = 0;
// 
//     @Override
//     public BaseViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
//         switch (viewType) {
//             case TEXT_HOLDER:
//                 return new EnterTextHolder(parent, getItemView(parent, viewType));
//         }
//         return null;
//     }
// 
//     @Override
//     public int getItemViewType(EnterData data) {
//         return data.holderType;
//     }
// 
//     @Override
//     public int getLayoutId(int viewType) {
//         switch (viewType) {
//             case TEXT_HOLDER:
//                 return R.layout.view_holder_enter_text;
//         }
//         return 0;
//     }
// }


import com.demo.amazing.adpter.EnterDelegate;
package com.demo.amazing.model;


/**
 * Created by hzsunyj on 2017/10/17.
 */

public class EnterData extends ItemData {

    public static final int DEFAULT_TAG = 0;

    public Class clazz;

    public EnterData(String desc, Class clazz) {
// Path: app/src/main/java/com/demo/amazing/adpter/EnterDelegate.java
// public class EnterDelegate extends BaseDelegate<EnterData> {
// 
//     public static final int TEXT_HOLDER = 0;
// 
//     @Override
//     public BaseViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
//         switch (viewType) {
//             case TEXT_HOLDER:
//                 return new EnterTextHolder(parent, getItemView(parent, viewType));
//         }
//         return null;
//     }
// 
//     @Override
//     public int getItemViewType(EnterData data) {
//         return data.holderType;
//     }
// 
//     @Override
//     public int getLayoutId(int viewType) {
//         switch (viewType) {
//             case TEXT_HOLDER:
//                 return R.layout.view_holder_enter_text;
//         }
//         return 0;
//     }
// }


// Path: app/src/main/java/com/demo/amazing/model/EnterData.java
import com.demo.amazing.adpter.EnterDelegate;

package com.demo.amazing.model;


/**
 * Created by hzsunyj on 2017/10/17.
 */

public class EnterData extends ItemData {

    public static final int DEFAULT_TAG = 0;

    public Class clazz;

    public EnterData(String desc, Class clazz) {
        super(DEFAULT_TAG, EnterDelegate.TEXT_HOLDER, desc);