// Path: app/src/main/java/com/tyq/jiemian/bean/ChatBean.java
// public class ChatBean {
//     private int type;
//     private String info;
// 
//     public ChatBean(int type, String info) {
//         this.type = type;
//         this.info = info;
//     }
// 
//     public String getInfo() {
//         return info;
//     }
// 
//     public void setInfo(String info) {
//         this.info = info;
//     }
// 
//     public int getType() {
//         return type;
//     }
// 
//     public void setType(int type) {
//         this.type = type;
//     }
// }


import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.tyq.jiemian.R;
import com.tyq.jiemian.bean.ChatBean;
import java.util.ArrayList;
import java.util.List;
package com.tyq.jiemian.adapter;




/**
 * Created by tyq on 2016/6/5.
 */
public class TRClientAdapter extends BaseAdapter{
    private static final int VIEW_TYPE = 2;
    public static final int TYPE_USER = 0;
    public static final int TYPE_ROBOT = 1;

// Path: app/src/main/java/com/tyq/jiemian/bean/ChatBean.java
// public class ChatBean {
//     private int type;
//     private String info;
// 
//     public ChatBean(int type, String info) {
//         this.type = type;
//         this.info = info;
//     }
// 
//     public String getInfo() {
//         return info;
//     }
// 
//     public void setInfo(String info) {
//         this.info = info;
//     }
// 
//     public int getType() {
//         return type;
//     }
// 
//     public void setType(int type) {
//         this.type = type;
//     }
// }


// Path: app/src/main/java/com/tyq/jiemian/adapter/TRClientAdapter.java
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.tyq.jiemian.R;
import com.tyq.jiemian.bean.ChatBean;
import java.util.ArrayList;
import java.util.List;

package com.tyq.jiemian.adapter;




/**
 * Created by tyq on 2016/6/5.
 */
public class TRClientAdapter extends BaseAdapter{
    private static final int VIEW_TYPE = 2;
    public static final int TYPE_USER = 0;
    public static final int TYPE_ROBOT = 1;

    private List<ChatBean> list;