// Path: kratos-sample/src/main/java/me/ele/kratos_sample/entity/KText.java
// public class KText extends KData {
//     public KString text1;
//     public KString text2;
// }


import android.content.Context;
import android.util.Log;
import android.widget.TextView;
import org.jetbrains.annotations.NotNull;
import kratos.Bind;
import kratos.BindLayout;
import kratos.Binds;
import kratos.OnKStringChanged;
import kratos.card.KCard;
import me.ele.kratos_sample.entity.KText;
package me.ele.kratos_sample;




/**
 * Created by merlin on 15/12/17.
 */
@BindLayout(R.layout.kcard_text)  //@LBindLayout("kcard_text")
@Binds({@Bind(id = R.id.kcard_text_text1, data = "text1"),
        @Bind(id = R.id.kcard_text_text2, data = "text2")})
// Path: kratos-sample/src/main/java/me/ele/kratos_sample/entity/KText.java
// public class KText extends KData {
//     public KString text1;
//     public KString text2;
// }


// Path: kratos-sample/src/main/java/me/ele/kratos_sample/TextCard.java
import android.content.Context;
import android.util.Log;
import android.widget.TextView;
import org.jetbrains.annotations.NotNull;
import kratos.Bind;
import kratos.BindLayout;
import kratos.Binds;
import kratos.OnKStringChanged;
import kratos.card.KCard;
import me.ele.kratos_sample.entity.KText;

package me.ele.kratos_sample;




/**
 * Created by merlin on 15/12/17.
 */
@BindLayout(R.layout.kcard_text)  //@LBindLayout("kcard_text")
@Binds({@Bind(id = R.id.kcard_text_text1, data = "text1"),
        @Bind(id = R.id.kcard_text_text2, data = "text2")})
public class TextCard extends KCard<KText> {