// Path: app/src/main/java/zlc/season/demo/RecyclerItemType.java
// public enum RecyclerItemType {
//     NORMAL(0), TYPE1(1), TYPE2(2), TYPE3(3), PARENT(4), CHILD(5);
// 
//     // 定义私有变量
//     private int nCode;
// 
//     RecyclerItemType(int _nCode) {
//         this.nCode = _nCode;
//     }
// 
//     public int getValue() {
//         return this.nCode;
//     }
// }
// 
// Path: practicalrecyclerview/src/main/java/zlc/season/practicalrecyclerview/ItemType.java
// public interface ItemType {
//     int itemType();
// }


import com.google.gson.annotations.SerializedName;
import zlc.season.demo.RecyclerItemType;
import zlc.season.practicalrecyclerview.ItemType;

package zlc.season.demo.expand;



/**
 * Author: Season(ssseasonnn@gmail.com)
 * Date: 2016/10/17
 * Time: 15:29
 * FIXME
 */
class ChildBean implements ItemType {
    @SerializedName("text")
    int text;

    @Override
    public int itemType() {

// Path: app/src/main/java/zlc/season/demo/RecyclerItemType.java
// public enum RecyclerItemType {
//     NORMAL(0), TYPE1(1), TYPE2(2), TYPE3(3), PARENT(4), CHILD(5);
// 
//     // 定义私有变量
//     private int nCode;
// 
//     RecyclerItemType(int _nCode) {
//         this.nCode = _nCode;
//     }
// 
//     public int getValue() {
//         return this.nCode;
//     }
// }
// 
// Path: practicalrecyclerview/src/main/java/zlc/season/practicalrecyclerview/ItemType.java
// public interface ItemType {
//     int itemType();
// }


// Path: app/src/main/java/zlc/season/demo/expand/ChildBean.java
import com.google.gson.annotations.SerializedName;
import zlc.season.demo.RecyclerItemType;
import zlc.season.practicalrecyclerview.ItemType;

package zlc.season.demo.expand;



/**
 * Author: Season(ssseasonnn@gmail.com)
 * Date: 2016/10/17
 * Time: 15:29
 * FIXME
 */
class ChildBean implements ItemType {
    @SerializedName("text")
    int text;

    @Override
    public int itemType() {

        return RecyclerItemType.CHILD.getValue();
