// Path: app/src/main/java/io/github/mthli/type/widget/model/Type.java
// public class Type {
//     public static final int TYPE_BLOCK = 0x100;
//     public static final int TYPE_DOTS = 0x101;
//     public static final int TYPE_IMAGE = 0x102;
//     public static final int TYPE_TITLE = 0x103;
// 
//     @IntDef({TYPE_BLOCK, TYPE_DOTS, TYPE_IMAGE, TYPE_TITLE})
//     @Retention(RetentionPolicy.SOURCE)
//     public @interface TypeValue {}
// 
//     private int type;
// 
//     public Type(@TypeValue int type) {
//         this.type = type;
//     }
// 
//     @TypeValue
//     public final int getType() {
//         return type;
//     }
// }


import io.github.mthli.type.widget.model.Type;
/*
 * Copyright 2016 Matthew Lee
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */

package io.github.mthli.type.event;


public class DeleteEvent {
    private int type;
    private int position;

    public DeleteEvent(@Type.TypeValue int type, int position) {
        this.type = type;
        this.position = position;
    }

// Path: app/src/main/java/io/github/mthli/type/widget/model/Type.java
// public class Type {
//     public static final int TYPE_BLOCK = 0x100;
//     public static final int TYPE_DOTS = 0x101;
//     public static final int TYPE_IMAGE = 0x102;
//     public static final int TYPE_TITLE = 0x103;
// 
//     @IntDef({TYPE_BLOCK, TYPE_DOTS, TYPE_IMAGE, TYPE_TITLE})
//     @Retention(RetentionPolicy.SOURCE)
//     public @interface TypeValue {}
// 
//     private int type;
// 
//     public Type(@TypeValue int type) {
//         this.type = type;
//     }
// 
//     @TypeValue
//     public final int getType() {
//         return type;
//     }
// }


// Path: app/src/main/java/io/github/mthli/type/event/DeleteEvent.java
import io.github.mthli.type.widget.model.Type;

/*
 * Copyright 2016 Matthew Lee
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */

package io.github.mthli.type.event;


public class DeleteEvent {
    private int type;
    private int position;

    public DeleteEvent(@Type.TypeValue int type, int position) {
        this.type = type;
        this.position = position;
    }

    @Type.TypeValue