android arrayAdapter 的讲解
来源:技术人生 责任编辑:栏目编辑 发表时间:2013-07-01 21:42 点击:次
package com.peptalk.client.kaikai;
import java.io.File;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Vector;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Vector;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.message.BasicNameValuePair;
import pep.com.lbs.PepLocationManager;
import com.peptalk.client.kaikai.activity.BaseActivity;
import com.peptalk.client.kaikai.app.KaiApplication;
import com.peptalk.client.kaikai.biz.PoiPublicTimeline;
import com.peptalk.client.kaikai.biz.PoiReport;
import com.peptalk.client.kaikai.biz.PoiShow;
import com.peptalk.client.kaikai.util.INFO;
import com.peptalk.client.kaikai.util.Network;
import com.peptalk.client.kaikai.util.SomeUtil;
import com.peptalk.client.kaikai.vo.Coupon;
import com.peptalk.client.kaikai.vo.Coupons;
import com.peptalk.client.kaikai.vo.External;
import com.peptalk.client.kaikai.vo.Place;
import com.peptalk.client.kaikai.vo.Poi;
import com.peptalk.client.kaikai.vo.PoiConcise;
import com.peptalk.client.kaikai.vo.Poi_Item;
import com.peptalk.client.kaikai.vo.Poiext;
import com.peptalk.client.kaikai.vo.Poiexts;
import com.peptalk.client.kaikai.vo.Status;
import com.peptalk.client.kaikai.vo.StatusConcise;
import com.peptalk.client.kaikai.vo.Statuses;
import com.peptalk.client.kaikai.vo.Treasure;
import com.peptalk.client.kaikai.vo.Treasures;
import com.peptalk.client.kaikai.vo.UserConcise;
import com.peptalk.client.kaikai.vo.UserConcises;
import com.peptalk.client.kaikai.activity.BaseActivity;
import com.peptalk.client.kaikai.app.KaiApplication;
import com.peptalk.client.kaikai.biz.PoiPublicTimeline;
import com.peptalk.client.kaikai.biz.PoiReport;
import com.peptalk.client.kaikai.biz.PoiShow;
import com.peptalk.client.kaikai.util.INFO;
import com.peptalk.client.kaikai.util.Network;
import com.peptalk.client.kaikai.util.SomeUtil;
import com.peptalk.client.kaikai.vo.Coupon;
import com.peptalk.client.kaikai.vo.Coupons;
import com.peptalk.client.kaikai.vo.External;
import com.peptalk.client.kaikai.vo.Place;
import com.peptalk.client.kaikai.vo.Poi;
import com.peptalk.client.kaikai.vo.PoiConcise;
import com.peptalk.client.kaikai.vo.Poi_Item;
import com.peptalk.client.kaikai.vo.Poiext;
import com.peptalk.client.kaikai.vo.Poiexts;
import com.peptalk.client.kaikai.vo.Status;
import com.peptalk.client.kaikai.vo.StatusConcise;
import com.peptalk.client.kaikai.vo.Statuses;
import com.peptalk.client.kaikai.vo.Treasure;
import com.peptalk.client.kaikai.vo.Treasures;
import com.peptalk.client.kaikai.vo.UserConcise;
import com.peptalk.client.kaikai.vo.UserConcises;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.text.format.Time;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;
import android.widget.AdapterView;
import android.widget.BaseAdapter;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.RadioButton;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;
import android.widget.AdapterView.OnItemClickListener;
public class Place_Detail_Mode extends BaseActivity {
private View friendBottomView=null;
private View placeBottomView=null;
private View meBottomView=null;
private View tipsBottomView=null;
private ImageView buttomMe=null;
/**************************视图模型部分***********************************/
private ListView contentListView;//展示的内容视图
private ListView tipsListView;//展示的内容视图
private ProgressBar topProgressBar;//载入进度条
public final byte VISTOR=0;//访客
public final byte SUPRISE=1;//惊喜
public final byte TIPS=2;//贴士
public final byte GROUPON=3;//团购
public final byte TWITTER=4;//微博
public final byte NEWS=5;//旧闻
private View titleView;//标题视图模型
private String SystemTime="";
private LinearLayout vistoryLayout =null;
private LayoutInflater contentTipsInflater;//加载xml数据
private ContentListViewAdapt
private View friendBottomView=null;
private View placeBottomView=null;
private View meBottomView=null;
private View tipsBottomView=null;
private ImageView buttomMe=null;
/**************************视图模型部分***********************************/
private ListView contentListView;//展示的内容视图
private ListView tipsListView;//展示的内容视图
private ProgressBar topProgressBar;//载入进度条
public final byte VISTOR=0;//访客
public final byte SUPRISE=1;//惊喜
public final byte TIPS=2;//贴士
public final byte GROUPON=3;//团购
public final byte TWITTER=4;//微博
public final byte NEWS=5;//旧闻
private View titleView;//标题视图模型
private String SystemTime="";
private LinearLayout vistoryLayout =null;
private LayoutInflater contentTipsInflater;//加载xml数据
private ContentListViewAdapt
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>