//主方法
package com.example.listview;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;
import com.google.gson.Gson;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoader;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.List;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.List;
public class MainActivity extends AppCompatActivity {
private ListView lv;
private List<WL.ResultBean.ListBean> list1;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
lv = (ListView) findViewById(R.id.lv);
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
lv = (ListView) findViewById(R.id.lv);
Mytask mytask = new Mytask();
mytask.execute("http://v.juhe.cn/weixin/query?key=88f7bbc507e3ecacfaeab2b47dd8936f&ps=30");
}
class Myadapter extends BaseAdapter {
int TYTLE_ONLY = 0;//只有文字的形式
int IMAGE_LEFT = 1;//表示图片在左边,文字在右边
int IMAGE_RIGHT = 2;//表示图片在右边,文字在左边
int IMAGE_BOTTOM = 3;//表示文字在上边,图片在下面
@Override
public int getCount() {
return list1.size();
}
@Override
public Object getItem(int i) {
return list1.get(i);
}
public Object getItem(int i) {
return list1.get(i);
}
@Override
public long getItemId(int i) {
return i;
}
public long getItemId(int i) {
return i;
}
@Override
public int getViewTypeCount() {
return 4;
}
public int getViewTypeCount() {
return 4;
}
@Override
public int getItemViewType(int position) {
public int getItemViewType(int position) {
if (position % 4 == 0) {
return TYTLE_ONLY;
} else if (position % 4 == 1) {
return IMAGE_LEFT;
} else if (position % 4 == 2) {
return IMAGE_RIGHT;
return TYTLE_ONLY;
} else if (position % 4 == 1) {
return IMAGE_LEFT;
} else if (position % 4 == 2) {
return IMAGE_RIGHT;
} else if (position % 4 == 3) {
return IMAGE_BOTTOM;
}
return IMAGE_BOTTOM;
}
return IMAGE_BOTTOM;
}
}
@Override
public View getView(int i, View view, ViewGroup viewGroup) {
public View getView(int i, View view, ViewGroup viewGroup) {
int type=getItemViewType(i);
if(type==TYTLE_ONLY) {
ViewHolder vh;
if (view == null) {
view = View.inflate(MainActivity.this, R.layout.item_title_layout, null);
vh = new ViewHolder();
vh.tvTitle = (TextView) view.findViewById(R.id.text_title);
view.setTag(vh);
} else {
vh = (ViewHolder) view.getTag();
}
vh.tvTitle.setText(list1.get(i).getTitle());
}
if(type==IMAGE_LEFT) {
ViewHolderLeft vhLeft;
if (view == null) {
view = View.inflate(MainActivity.this, R.layout.item_left_layout, null);
vhLeft = new ViewHolderLeft();
vhLeft.imageView = (ImageView) view.findViewById(R.id.image_view);
vhLeft.tvTitle = (TextView)view.findViewById(R.id.text_title);
ViewHolder vh;
if (view == null) {
view = View.inflate(MainActivity.this, R.layout.item_title_layout, null);
vh = new ViewHolder();
vh.tvTitle = (TextView) view.findViewById(R.id.text_title);
view.setTag(vh);
} else {
vh = (ViewHolder) view.getTag();
}
vh.tvTitle.setText(list1.get(i).getTitle());
}
if(type==IMAGE_LEFT) {
ViewHolderLeft vhLeft;
if (view == null) {
view = View.inflate(MainActivity.this, R.layout.item_left_layout, null);
vhLeft = new ViewHolderLeft();
vhLeft.imageView = (ImageView) view.findViewById(R.id.image_view);
vhLeft.tvTitle = (TextView)view.findViewById(R.id.text_title);
view.setTag(vhLeft);
} else {
vhLeft = (ViewHolderLeft) view.getTag();
}
vhLeft.tvTitle.setText(list1.get(i).getTitle());
ImageLoader.getInstance().displayImage(list1.get(i).getFirstImg(), vhLeft.imageView,MApp.getDefaultDisplayOption());
}
if(type==IMAGE_RIGHT) {
ViewHolderRight vhRight;
if (view == null) {
view = View.inflate(MainActivity.this, R.layout.item_left_layout, null);
vhRight = new ViewHolderRight();
vhRight.imageView = (ImageView)view.findViewById(R.id.image_view);
vhRight.tvTitle = (TextView)view.findViewById(R.id.text_title);
view.setTag(vhRight);
} else {
vhLeft = (ViewHolderLeft) view.getTag();
}
vhLeft.tvTitle.setText(list1.get(i).getTitle());
ImageLoader.getInstance().displayImage(list1.get(i).getFirstImg(), vhLeft.imageView,MApp.getDefaultDisplayOption());
}
if(type==IMAGE_RIGHT) {
ViewHolderRight vhRight;
if (view == null) {
view = View.inflate(MainActivity.this, R.layout.item_left_layout, null);
vhRight = new ViewHolderRight();
vhRight.imageView = (ImageView)view.findViewById(R.id.image_view);
vhRight.tvTitle = (TextView)view.findViewById(R.id.text_title);
view.setTag(vhRight);
} else {
vhRight = (ViewHolderRight) view.getTag();
}
vhRight.tvTitle.setText(list1.get(i).getTitle());
ImageLoader.getInstance().displayImage(list1.get(i).getFirstImg(), vhRight.imageView,MApp.getDefaultDisplayOption());
}
if(type==IMAGE_BOTTOM) {
ViewHolderBottom vhBottom;
if (view == null) {
view = View.inflate(MainActivity.this, R.layout.item_left_layout, null);
vhBottom = new ViewHolderBottom();
vhBottom.imageView = (ImageView)view.findViewById(R.id.image_view);
vhBottom.tvTitle = (TextView)view.findViewById(R.id.text_title);
vhRight = (ViewHolderRight) view.getTag();
}
vhRight.tvTitle.setText(list1.get(i).getTitle());
ImageLoader.getInstance().displayImage(list1.get(i).getFirstImg(), vhRight.imageView,MApp.getDefaultDisplayOption());
}
if(type==IMAGE_BOTTOM) {
ViewHolderBottom vhBottom;
if (view == null) {
view = View.inflate(MainActivity.this, R.layout.item_left_layout, null);
vhBottom = new ViewHolderBottom();
vhBottom.imageView = (ImageView)view.findViewById(R.id.image_view);
vhBottom.tvTitle = (TextView)view.findViewById(R.id.text_title);
view.setTag(vhBottom);
} else {
vhBottom = (ViewHolderBottom) view.getTag();
}
vhBottom.tvTitle.setText(list1.get(i).getTitle());
ImageLoader.getInstance().displayImage(list1.get(i).getFirstImg(), vhBottom.imageView,MApp.getDefaultDisplayOption());
}
} else {
vhBottom = (ViewHolderBottom) view.getTag();
}
vhBottom.tvTitle.setText(list1.get(i).getTitle());
ImageLoader.getInstance().displayImage(list1.get(i).getFirstImg(), vhBottom.imageView,MApp.getDefaultDisplayOption());
}
return view;
}
class ViewHolder {
TextView tvTitle;
}
class ViewHolderLeft {
TextView tvTitle;
ImageView imageView;
}
class ViewHolderRight {
TextView tvTitle;
ImageView imageView;
}
TextView tvTitle;
ImageView imageView;
}
class ViewHolderBottom {
TextView tvTitle;
ImageView imageView;
}
}
class Mytask extends AsyncTask<String, Void, String> {
TextView tvTitle;
ImageView imageView;
}
}
class Mytask extends AsyncTask<String, Void, String> {
private String s;
@Override
protected String doInBackground(String... strings) {
//String path = "http://v.juhe.cn/weixin/query?key=88f7bbc507e3ecacfaeab2b47dd8936f&ps=30";
try {
URL url = new URL(strings[0]);
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
urlConnection.setRequestMethod("GET");
urlConnection.setReadTimeout(5000);
urlConnection.setConnectTimeout(5000);
int code = urlConnection.getResponseCode();
if (code == 200) {
InputStream inputStream = urlConnection.getInputStream();
s = StreamGson(inputStream);
}
} catch (Exception e) {
e.printStackTrace();
}
protected String doInBackground(String... strings) {
//String path = "http://v.juhe.cn/weixin/query?key=88f7bbc507e3ecacfaeab2b47dd8936f&ps=30";
try {
URL url = new URL(strings[0]);
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
urlConnection.setRequestMethod("GET");
urlConnection.setReadTimeout(5000);
urlConnection.setConnectTimeout(5000);
int code = urlConnection.getResponseCode();
if (code == 200) {
InputStream inputStream = urlConnection.getInputStream();
s = StreamGson(inputStream);
}
} catch (Exception e) {
e.printStackTrace();
}
return s;
}
@Override
protected void onPostExecute(String s) {
super.onPostExecute(s);
Log.e("GGGGGGG",s+"+++++++++s");
Gson gson = new Gson();
WL json = gson.fromJson(s, WL.class);
protected void onPostExecute(String s) {
super.onPostExecute(s);
Log.e("GGGGGGG",s+"+++++++++s");
Gson gson = new Gson();
WL json = gson.fromJson(s, WL.class);
Log.d("zzz",json.toString());
list1 = json.getResult().getList();
Log.e("GGGGGGG",list1.size()+"+++++++++++++++++++++++si");
lv.setAdapter(new Myadapter());
}
}
public String StreamGson(InputStream inputStream) {
Log.e("GGGGGGG",list1.size()+"+++++++++++++++++++++++si");
lv.setAdapter(new Myadapter());
}
}
public String StreamGson(InputStream inputStream) {
try {
InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
BufferedReader bufferedReader = new BufferedReader(inputStreamReader);
String s;
StringBuilder builder = new StringBuilder();
while ((s = bufferedReader.readLine()) != null) {
builder.append(s);
}
bufferedReader.close();
return builder.toString();
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
}
//imageloder类
package com.example.listview;
import android.app.Application;
import android.os.Environment;
import android.util.Log;
import android.os.Environment;
import android.util.Log;
import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiskCache;
import com.nostra13.universalimageloader.cache.disc.naming.Md5FileNameGenerator;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import com.nostra13.universalimageloader.cache.disc.naming.Md5FileNameGenerator;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import java.io.File;
/**
* author:Created by WangZhiQiang on 2017/10/12.
*/
* author:Created by WangZhiQiang on 2017/10/12.
*/
public class MApp extends Application{
@Override
public void onCreate() {
super.onCreate();
// File cachefile=getExternalCacheDir();
//
File cachefile=new File(Environment.getExternalStorageDirectory().getPath()+"/"+"mymypic");
Log.d("zzz", cachefile.getPath()+"++++++++++++++++++++++++++++++++++++++++++++");
ImageLoaderConfiguration build = new ImageLoaderConfiguration.Builder(this).memoryCacheExtraOptions(480, 800)//缓存图片最大的长和宽
.threadPoolSize(2)//线程池的数量
.threadPriority(4)
.memoryCacheSize(2*1024*1024)//设置内存缓存区大小
.diskCache(new UnlimitedDiskCache(cachefile))//自定义缓存目录
.writeDebugLogs()//打印日志内容
.diskCacheSize(20*1024*1024)//设置sd卡缓存区大小
.diskCacheFileNameGenerator(new Md5FileNameGenerator())//给缓存的文件名进行md5加密处理
.build();
ImageLoader.getInstance().init(build);
@Override
public void onCreate() {
super.onCreate();
// File cachefile=getExternalCacheDir();
//
File cachefile=new File(Environment.getExternalStorageDirectory().getPath()+"/"+"mymypic");
Log.d("zzz", cachefile.getPath()+"++++++++++++++++++++++++++++++++++++++++++++");
ImageLoaderConfiguration build = new ImageLoaderConfiguration.Builder(this).memoryCacheExtraOptions(480, 800)//缓存图片最大的长和宽
.threadPoolSize(2)//线程池的数量
.threadPriority(4)
.memoryCacheSize(2*1024*1024)//设置内存缓存区大小
.diskCache(new UnlimitedDiskCache(cachefile))//自定义缓存目录
.writeDebugLogs()//打印日志内容
.diskCacheSize(20*1024*1024)//设置sd卡缓存区大小
.diskCacheFileNameGenerator(new Md5FileNameGenerator())//给缓存的文件名进行md5加密处理
.build();
ImageLoader.getInstance().init(build);
}
public final static DisplayImageOptions getDefaultDisplayOption() {
DisplayImageOptions options = new DisplayImageOptions.Builder()
.cacheInMemory(true)//进行内存缓存
.cacheOnDisk(true)//进行sd卡缓存
.build();
DisplayImageOptions options = new DisplayImageOptions.Builder()
.cacheInMemory(true)//进行内存缓存
.cacheOnDisk(true)//进行sd卡缓存
.build();
//设置图片质量build(); // 创建配置过得DisplayImageOption对象
return options;
}
}
return options;
}
}
//Bean类
package com.example.listview;
// FIXME generate failure field _$Result88
// FIXME generate failure field _$Reason332
// FIXME generate failure field _$Reason332
import java.util.List;
/**
* author:Created by WangZhiQiang on 2017/10/12.
*/
* author:Created by WangZhiQiang on 2017/10/12.
*/
public class WL {
/**
* reason : 请求成功
* result : {"list":[{"id":"wechat_20171012008518","title":"静修营 | 过去、现在和未来","source":"菩提书院","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438692.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008518"},{"id":"wechat_20171012008906","title":"开团 | 读200遍都不够,连《老友记》都用他的书!全球最会讲故事的蒙施爷爷双语版来啦!","source":"亲子营","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52818307.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008906"},{"id":"wechat_20171012008832","title":"悬赏通告丨昭觉县公安局交通警察大队发布关于\u201c10.10\u201d交通肇事逃逸者悬赏通告","source":"凉山日报微报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438964.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008832"},{"id":"wechat_20171012008769","title":"考古重大发现!大量遗存证明安宁河谷是南丝路重要节点","source":"凉山日报微报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438924.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008769"},{"id":"wechat_20171012008946","title":"开团 | 美国Wayne Flex舒适高跟鞋,野生鹿皮内里,3D立体鞋床,能穿着跑的高跟鞋,穿上它大妈秒变女神!","source":"爱读童书妈妈小莉","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439029.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008946"},{"id":"wechat_20171012008943","title":"微课 | 一小时掌握宝宝辅食全攻略,让孩子吃好吃饱有营养!","source":"爱读童书妈妈小莉","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439027.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008943"},{"id":"wechat_20171012009022","title":"重大利好 奉贤标志性文化建筑即将开建","source":"第一地产","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-51814536.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009022"},{"id":"wechat_20171012009016","title":"一到秋季嘴唇就变沙漠带?Angelababy教你拥有少女感粉嫩嘟嘟唇!","source":"时尚芭莎","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-29079063.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009016"},{"id":"wechat_20171012009008","title":"惊险!美摔角手从6米高\u201c地狱牢笼\u201d跳下摔成重伤","source":"环球惊叹号","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439115.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009008"},{"id":"wechat_20171012008971","title":"摄影师公开美国各类人群卧室私密照片 展示最真实生活","source":"环球惊叹号","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439074.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008971"},{"id":"wechat_20171012008966","title":"原生家庭,到底对孩子有多大影响?","source":"养育男孩","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-13755662.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008966"},{"id":"wechat_20171012008958","title":"换发色相当于换张脸?李宇春吴昕昆凌染发后爆美,堪称年度最in发色!","source":"时尚芭莎","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-29079063.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008958"},{"id":"wechat_20171012006317","title":"烟盒上的书法原来是他们写的!","source":"看天下","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434707.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006317"},{"id":"wechat_20171012006352","title":"这115个成语,竟都出自这部\u201c不朽之作\u201d!","source":"品味人生","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28219915.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006352"},{"id":"wechat_20171012006326","title":"为了追星,古人干过多少傻事儿?","source":"觽堂文化","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-51343740.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006326"},{"id":"wechat_20171012006208","title":"《诗经》里的植物长啥样?53幅手绘画配诗句,这么背诗美翻了! | 学习","source":"四川教育手机报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434539.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006208"},{"id":"wechat_20171012006181","title":"书画 | 百岁老人:画画就画画呗,还弄了个主席","source":"海陆物语","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-14007682.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006181"},{"id":"wechat_20171012006347","title":"龙应台:我为什么建议孩子从小多读文史哲?","source":"问对教育","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-45851566.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006347"},{"id":"wechat_20171012006334","title":"央视《朗读者》告诉我们:孩子朗读名家文学的好处,你一定不知道!","source":"读史","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-47751093.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006334"},{"id":"wechat_20171012006319","title":"他用金子把碎片修复成艺术品,因太美,有人专门摔了瓷器,拿来给他修","source":"魔妈手工生活DIY","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28275387.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006319"},{"id":"wechat_20171012006267","title":"涨姿势,烟盒上的书法原来是他们写的!","source":"读史","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434707.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006267"},{"id":"wechat_20171012006434","title":"学诗计划 |《梦江南》:梳洗罢,独倚望江楼","source":"新华网","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-37626800.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006434"},{"id":"wechat_20171012007034","title":"沫非诉情丨一字恋","source":"陈小鹏专列","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53436257.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007034"},{"id":"wechat_20171012007195","title":"人民币说明书,太有才了!","source":"古文观止","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-33534204.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007195"},{"id":"wechat_20171012007132","title":"非遗日历丨洛川蹩鼓","source":"西行驿站","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-22824471.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007132"},{"id":"wechat_20171012007091","title":"这些诗词,一见倾心,念念不忘","source":"古文观止","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52014658.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007091"},{"id":"wechat_20171012007168","title":"戈宝栋:关于《林冲夜奔》","source":"京剧道场","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53436408.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007168"},{"id":"wechat_20171012007293","title":"潘金莲只是金翠莲的一个配角 | 第三只眼看水浒","source":"二马看天下","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28248402.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007293"},{"id":"wechat_20171012007265","title":"『竹窗三笔』百丈清规","source":"姑苏云","firstImg":"","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007265"},{"id":"wechat_20171012007396","title":"五千年来最美古诗词,美到极致!","source":"名家散文","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52731984.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007396"}],"totalPage":5322,"ps":30,"pno":1}
* error_code : 0
*/
* reason : 请求成功
* result : {"list":[{"id":"wechat_20171012008518","title":"静修营 | 过去、现在和未来","source":"菩提书院","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438692.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008518"},{"id":"wechat_20171012008906","title":"开团 | 读200遍都不够,连《老友记》都用他的书!全球最会讲故事的蒙施爷爷双语版来啦!","source":"亲子营","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52818307.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008906"},{"id":"wechat_20171012008832","title":"悬赏通告丨昭觉县公安局交通警察大队发布关于\u201c10.10\u201d交通肇事逃逸者悬赏通告","source":"凉山日报微报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438964.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008832"},{"id":"wechat_20171012008769","title":"考古重大发现!大量遗存证明安宁河谷是南丝路重要节点","source":"凉山日报微报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438924.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008769"},{"id":"wechat_20171012008946","title":"开团 | 美国Wayne Flex舒适高跟鞋,野生鹿皮内里,3D立体鞋床,能穿着跑的高跟鞋,穿上它大妈秒变女神!","source":"爱读童书妈妈小莉","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439029.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008946"},{"id":"wechat_20171012008943","title":"微课 | 一小时掌握宝宝辅食全攻略,让孩子吃好吃饱有营养!","source":"爱读童书妈妈小莉","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439027.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008943"},{"id":"wechat_20171012009022","title":"重大利好 奉贤标志性文化建筑即将开建","source":"第一地产","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-51814536.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009022"},{"id":"wechat_20171012009016","title":"一到秋季嘴唇就变沙漠带?Angelababy教你拥有少女感粉嫩嘟嘟唇!","source":"时尚芭莎","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-29079063.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009016"},{"id":"wechat_20171012009008","title":"惊险!美摔角手从6米高\u201c地狱牢笼\u201d跳下摔成重伤","source":"环球惊叹号","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439115.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009008"},{"id":"wechat_20171012008971","title":"摄影师公开美国各类人群卧室私密照片 展示最真实生活","source":"环球惊叹号","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439074.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008971"},{"id":"wechat_20171012008966","title":"原生家庭,到底对孩子有多大影响?","source":"养育男孩","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-13755662.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008966"},{"id":"wechat_20171012008958","title":"换发色相当于换张脸?李宇春吴昕昆凌染发后爆美,堪称年度最in发色!","source":"时尚芭莎","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-29079063.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008958"},{"id":"wechat_20171012006317","title":"烟盒上的书法原来是他们写的!","source":"看天下","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434707.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006317"},{"id":"wechat_20171012006352","title":"这115个成语,竟都出自这部\u201c不朽之作\u201d!","source":"品味人生","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28219915.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006352"},{"id":"wechat_20171012006326","title":"为了追星,古人干过多少傻事儿?","source":"觽堂文化","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-51343740.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006326"},{"id":"wechat_20171012006208","title":"《诗经》里的植物长啥样?53幅手绘画配诗句,这么背诗美翻了! | 学习","source":"四川教育手机报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434539.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006208"},{"id":"wechat_20171012006181","title":"书画 | 百岁老人:画画就画画呗,还弄了个主席","source":"海陆物语","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-14007682.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006181"},{"id":"wechat_20171012006347","title":"龙应台:我为什么建议孩子从小多读文史哲?","source":"问对教育","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-45851566.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006347"},{"id":"wechat_20171012006334","title":"央视《朗读者》告诉我们:孩子朗读名家文学的好处,你一定不知道!","source":"读史","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-47751093.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006334"},{"id":"wechat_20171012006319","title":"他用金子把碎片修复成艺术品,因太美,有人专门摔了瓷器,拿来给他修","source":"魔妈手工生活DIY","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28275387.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006319"},{"id":"wechat_20171012006267","title":"涨姿势,烟盒上的书法原来是他们写的!","source":"读史","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434707.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006267"},{"id":"wechat_20171012006434","title":"学诗计划 |《梦江南》:梳洗罢,独倚望江楼","source":"新华网","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-37626800.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006434"},{"id":"wechat_20171012007034","title":"沫非诉情丨一字恋","source":"陈小鹏专列","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53436257.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007034"},{"id":"wechat_20171012007195","title":"人民币说明书,太有才了!","source":"古文观止","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-33534204.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007195"},{"id":"wechat_20171012007132","title":"非遗日历丨洛川蹩鼓","source":"西行驿站","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-22824471.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007132"},{"id":"wechat_20171012007091","title":"这些诗词,一见倾心,念念不忘","source":"古文观止","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52014658.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007091"},{"id":"wechat_20171012007168","title":"戈宝栋:关于《林冲夜奔》","source":"京剧道场","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53436408.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007168"},{"id":"wechat_20171012007293","title":"潘金莲只是金翠莲的一个配角 | 第三只眼看水浒","source":"二马看天下","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28248402.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007293"},{"id":"wechat_20171012007265","title":"『竹窗三笔』百丈清规","source":"姑苏云","firstImg":"","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007265"},{"id":"wechat_20171012007396","title":"五千年来最美古诗词,美到极致!","source":"名家散文","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52731984.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007396"}],"totalPage":5322,"ps":30,"pno":1}
* error_code : 0
*/
private String reason;
private ResultBean result;
private int error_code;
private ResultBean result;
private int error_code;
public String getReason() {
return reason;
}
return reason;
}
public void setReason(String reason) {
this.reason = reason;
}
this.reason = reason;
}
public ResultBean getResult() {
return result;
}
return result;
}
public void setResult(ResultBean result) {
this.result = result;
}
this.result = result;
}
public int getError_code() {
return error_code;
}
return error_code;
}
public void setError_code(int error_code) {
this.error_code = error_code;
}
this.error_code = error_code;
}
public static class ResultBean {
/**
* list : [{"id":"wechat_20171012008518","title":"静修营 | 过去、现在和未来","source":"菩提书院","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438692.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008518"},{"id":"wechat_20171012008906","title":"开团 | 读200遍都不够,连《老友记》都用他的书!全球最会讲故事的蒙施爷爷双语版来啦!","source":"亲子营","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52818307.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008906"},{"id":"wechat_20171012008832","title":"悬赏通告丨昭觉县公安局交通警察大队发布关于\u201c10.10\u201d交通肇事逃逸者悬赏通告","source":"凉山日报微报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438964.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008832"},{"id":"wechat_20171012008769","title":"考古重大发现!大量遗存证明安宁河谷是南丝路重要节点","source":"凉山日报微报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438924.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008769"},{"id":"wechat_20171012008946","title":"开团 | 美国Wayne Flex舒适高跟鞋,野生鹿皮内里,3D立体鞋床,能穿着跑的高跟鞋,穿上它大妈秒变女神!","source":"爱读童书妈妈小莉","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439029.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008946"},{"id":"wechat_20171012008943","title":"微课 | 一小时掌握宝宝辅食全攻略,让孩子吃好吃饱有营养!","source":"爱读童书妈妈小莉","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439027.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008943"},{"id":"wechat_20171012009022","title":"重大利好 奉贤标志性文化建筑即将开建","source":"第一地产","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-51814536.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009022"},{"id":"wechat_20171012009016","title":"一到秋季嘴唇就变沙漠带?Angelababy教你拥有少女感粉嫩嘟嘟唇!","source":"时尚芭莎","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-29079063.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009016"},{"id":"wechat_20171012009008","title":"惊险!美摔角手从6米高\u201c地狱牢笼\u201d跳下摔成重伤","source":"环球惊叹号","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439115.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009008"},{"id":"wechat_20171012008971","title":"摄影师公开美国各类人群卧室私密照片 展示最真实生活","source":"环球惊叹号","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439074.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008971"},{"id":"wechat_20171012008966","title":"原生家庭,到底对孩子有多大影响?","source":"养育男孩","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-13755662.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008966"},{"id":"wechat_20171012008958","title":"换发色相当于换张脸?李宇春吴昕昆凌染发后爆美,堪称年度最in发色!","source":"时尚芭莎","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-29079063.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008958"},{"id":"wechat_20171012006317","title":"烟盒上的书法原来是他们写的!","source":"看天下","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434707.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006317"},{"id":"wechat_20171012006352","title":"这115个成语,竟都出自这部\u201c不朽之作\u201d!","source":"品味人生","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28219915.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006352"},{"id":"wechat_20171012006326","title":"为了追星,古人干过多少傻事儿?","source":"觽堂文化","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-51343740.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006326"},{"id":"wechat_20171012006208","title":"《诗经》里的植物长啥样?53幅手绘画配诗句,这么背诗美翻了! | 学习","source":"四川教育手机报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434539.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006208"},{"id":"wechat_20171012006181","title":"书画 | 百岁老人:画画就画画呗,还弄了个主席","source":"海陆物语","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-14007682.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006181"},{"id":"wechat_20171012006347","title":"龙应台:我为什么建议孩子从小多读文史哲?","source":"问对教育","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-45851566.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006347"},{"id":"wechat_20171012006334","title":"央视《朗读者》告诉我们:孩子朗读名家文学的好处,你一定不知道!","source":"读史","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-47751093.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006334"},{"id":"wechat_20171012006319","title":"他用金子把碎片修复成艺术品,因太美,有人专门摔了瓷器,拿来给他修","source":"魔妈手工生活DIY","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28275387.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006319"},{"id":"wechat_20171012006267","title":"涨姿势,烟盒上的书法原来是他们写的!","source":"读史","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434707.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006267"},{"id":"wechat_20171012006434","title":"学诗计划 |《梦江南》:梳洗罢,独倚望江楼","source":"新华网","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-37626800.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006434"},{"id":"wechat_20171012007034","title":"沫非诉情丨一字恋","source":"陈小鹏专列","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53436257.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007034"},{"id":"wechat_20171012007195","title":"人民币说明书,太有才了!","source":"古文观止","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-33534204.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007195"},{"id":"wechat_20171012007132","title":"非遗日历丨洛川蹩鼓","source":"西行驿站","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-22824471.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007132"},{"id":"wechat_20171012007091","title":"这些诗词,一见倾心,念念不忘","source":"古文观止","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52014658.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007091"},{"id":"wechat_20171012007168","title":"戈宝栋:关于《林冲夜奔》","source":"京剧道场","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53436408.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007168"},{"id":"wechat_20171012007293","title":"潘金莲只是金翠莲的一个配角 | 第三只眼看水浒","source":"二马看天下","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28248402.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007293"},{"id":"wechat_20171012007265","title":"『竹窗三笔』百丈清规","source":"姑苏云","firstImg":"","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007265"},{"id":"wechat_20171012007396","title":"五千年来最美古诗词,美到极致!","source":"名家散文","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52731984.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007396"}]
* totalPage : 5322
* ps : 30
* pno : 1
*/
/**
* list : [{"id":"wechat_20171012008518","title":"静修营 | 过去、现在和未来","source":"菩提书院","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438692.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008518"},{"id":"wechat_20171012008906","title":"开团 | 读200遍都不够,连《老友记》都用他的书!全球最会讲故事的蒙施爷爷双语版来啦!","source":"亲子营","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52818307.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008906"},{"id":"wechat_20171012008832","title":"悬赏通告丨昭觉县公安局交通警察大队发布关于\u201c10.10\u201d交通肇事逃逸者悬赏通告","source":"凉山日报微报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438964.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008832"},{"id":"wechat_20171012008769","title":"考古重大发现!大量遗存证明安宁河谷是南丝路重要节点","source":"凉山日报微报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438924.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008769"},{"id":"wechat_20171012008946","title":"开团 | 美国Wayne Flex舒适高跟鞋,野生鹿皮内里,3D立体鞋床,能穿着跑的高跟鞋,穿上它大妈秒变女神!","source":"爱读童书妈妈小莉","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439029.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008946"},{"id":"wechat_20171012008943","title":"微课 | 一小时掌握宝宝辅食全攻略,让孩子吃好吃饱有营养!","source":"爱读童书妈妈小莉","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439027.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008943"},{"id":"wechat_20171012009022","title":"重大利好 奉贤标志性文化建筑即将开建","source":"第一地产","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-51814536.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009022"},{"id":"wechat_20171012009016","title":"一到秋季嘴唇就变沙漠带?Angelababy教你拥有少女感粉嫩嘟嘟唇!","source":"时尚芭莎","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-29079063.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009016"},{"id":"wechat_20171012009008","title":"惊险!美摔角手从6米高\u201c地狱牢笼\u201d跳下摔成重伤","source":"环球惊叹号","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439115.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012009008"},{"id":"wechat_20171012008971","title":"摄影师公开美国各类人群卧室私密照片 展示最真实生活","source":"环球惊叹号","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53439074.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008971"},{"id":"wechat_20171012008966","title":"原生家庭,到底对孩子有多大影响?","source":"养育男孩","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-13755662.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008966"},{"id":"wechat_20171012008958","title":"换发色相当于换张脸?李宇春吴昕昆凌染发后爆美,堪称年度最in发色!","source":"时尚芭莎","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-29079063.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008958"},{"id":"wechat_20171012006317","title":"烟盒上的书法原来是他们写的!","source":"看天下","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434707.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006317"},{"id":"wechat_20171012006352","title":"这115个成语,竟都出自这部\u201c不朽之作\u201d!","source":"品味人生","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28219915.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006352"},{"id":"wechat_20171012006326","title":"为了追星,古人干过多少傻事儿?","source":"觽堂文化","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-51343740.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006326"},{"id":"wechat_20171012006208","title":"《诗经》里的植物长啥样?53幅手绘画配诗句,这么背诗美翻了! | 学习","source":"四川教育手机报","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434539.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006208"},{"id":"wechat_20171012006181","title":"书画 | 百岁老人:画画就画画呗,还弄了个主席","source":"海陆物语","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-14007682.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006181"},{"id":"wechat_20171012006347","title":"龙应台:我为什么建议孩子从小多读文史哲?","source":"问对教育","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-45851566.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006347"},{"id":"wechat_20171012006334","title":"央视《朗读者》告诉我们:孩子朗读名家文学的好处,你一定不知道!","source":"读史","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-47751093.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006334"},{"id":"wechat_20171012006319","title":"他用金子把碎片修复成艺术品,因太美,有人专门摔了瓷器,拿来给他修","source":"魔妈手工生活DIY","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28275387.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006319"},{"id":"wechat_20171012006267","title":"涨姿势,烟盒上的书法原来是他们写的!","source":"读史","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53434707.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006267"},{"id":"wechat_20171012006434","title":"学诗计划 |《梦江南》:梳洗罢,独倚望江楼","source":"新华网","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-37626800.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012006434"},{"id":"wechat_20171012007034","title":"沫非诉情丨一字恋","source":"陈小鹏专列","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53436257.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007034"},{"id":"wechat_20171012007195","title":"人民币说明书,太有才了!","source":"古文观止","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-33534204.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007195"},{"id":"wechat_20171012007132","title":"非遗日历丨洛川蹩鼓","source":"西行驿站","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-22824471.static/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007132"},{"id":"wechat_20171012007091","title":"这些诗词,一见倾心,念念不忘","source":"古文观止","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52014658.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007091"},{"id":"wechat_20171012007168","title":"戈宝栋:关于《林冲夜奔》","source":"京剧道场","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-53436408.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007168"},{"id":"wechat_20171012007293","title":"潘金莲只是金翠莲的一个配角 | 第三只眼看水浒","source":"二马看天下","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-28248402.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007293"},{"id":"wechat_20171012007265","title":"『竹窗三笔』百丈清规","source":"姑苏云","firstImg":"","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007265"},{"id":"wechat_20171012007396","title":"五千年来最美古诗词,美到极致!","source":"名家散文","firstImg":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-52731984.jpg/640","mark":"","url":"http://v.juhe.cn/weixin/redirect?wid=wechat_20171012007396"}]
* totalPage : 5322
* ps : 30
* pno : 1
*/
private int totalPage;
private int ps;
private int pno;
private List<ListBean> list;
private int ps;
private int pno;
private List<ListBean> list;
public int getTotalPage() {
return totalPage;
}
return totalPage;
}
public void setTotalPage(int totalPage) {
this.totalPage = totalPage;
}
this.totalPage = totalPage;
}
public int getPs() {
return ps;
}
return ps;
}
public void setPs(int ps) {
this.ps = ps;
}
this.ps = ps;
}
public int getPno() {
return pno;
}
return pno;
}
public void setPno(int pno) {
this.pno = pno;
}
this.pno = pno;
}
public List<ListBean> getList() {
return list;
}
return list;
}
public void setList(List<ListBean> list) {
this.list = list;
}
this.list = list;
}
public static class ListBean {
/**
* id : wechat_20171012008518
* title : 静修营 | 过去、现在和未来
* source : 菩提书院
* firstImg : http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438692.jpg/640
* mark :
* url : http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008518
*/
/**
* id : wechat_20171012008518
* title : 静修营 | 过去、现在和未来
* source : 菩提书院
* firstImg : http://zxpic.gtimg.com/infonew/0/wechat_pics_-53438692.jpg/640
* mark :
* url : http://v.juhe.cn/weixin/redirect?wid=wechat_20171012008518
*/
private String id;
private String title;
private String source;
private String firstImg;
private String mark;
private String url;
private String title;
private String source;
private String firstImg;
private String mark;
private String url;
public String getId() {
return id;
}
return id;
}
public void setId(String id) {
this.id = id;
}
this.id = id;
}
public String getTitle() {
return title;
}
return title;
}
public void setTitle(String title) {
this.title = title;
}
this.title = title;
}
public String getSource() {
return source;
}
return source;
}
public void setSource(String source) {
this.source = source;
}
this.source = source;
}
public String getFirstImg() {
return firstImg;
}
return firstImg;
}
public void setFirstImg(String firstImg) {
this.firstImg = firstImg;
}
this.firstImg = firstImg;
}
public String getMark() {
return mark;
}
return mark;
}
public void setMark(String mark) {
this.mark = mark;
}
this.mark = mark;
}
public String getUrl() {
return url;
}
return url;
}
public void setUrl(String url) {
this.url = url;
}
}
}
}
//item_bottom_layout布局
this.url = url;
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/text_title"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<ImageView
android:id="@+id/image_view"
android:layout_width="match_parent"
android:layout_height="200dp" />
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/text_title"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<ImageView
android:id="@+id/image_view"
android:layout_width="match_parent"
android:layout_height="200dp" />
</LinearLayout>
//item_left_layout布局
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/image_view"
android:layout_width="100dp"
android:layout_height="100dp" />
<TextView
android:id="@+id/text_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/image_view"
android:layout_width="100dp"
android:layout_height="100dp" />
<TextView
android:id="@+id/text_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
//item_right_layout布局
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:padding="10dp"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/text_title"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content" />
<ImageView
android:id="@+id/image_view"
android:layout_width="100dp"
android:layout_height="100dp" />
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:padding="10dp"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/text_title"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content" />
<ImageView
android:id="@+id/image_view"
android:layout_width="100dp"
android:layout_height="100dp" />
</LinearLayout>
//item_title_layout布局
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/text_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/text_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>