首先是main_activity
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" tools:context="matianye.bawei.com.matianye1505d20170728.MainActivity"> <android.support.design.widget.TabLayout android:id="@+id/tableLayout_title" android:layout_width="match_parent" android:layout_height="40dp" app:tabIndicatorColor="#F4F5F6" app:tabSelectedTextColor="#CC3131" app:tabTextColor="#000" android:background="#F4F5F6" android:layout_alignParentLeft="true" android:layout_alignParentStart="true"> </android.support.design.widget.TabLayout> <android.support.v4.view.ViewPager android:id="@+id/viewPager" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@+id/tableLayout_title"></android.support.v4.view.ViewPager> </RelativeLayout>
contentitem 三个ImagerView展示出的数据
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:orientation="horizontal" android:layout_height="match_parent"> <ImageView android:id="@+id/image_content" android:src="@mipmap/ic_launcher" android:layout_width="0dp" android:layout_weight="1" android:layout_height="200dp" /> <ImageView android:id="@+id/image_content2" android:src="@mipmap/ic_launcher" android:layout_width="0dp" android:layout_weight="1" android:layout_height="200dp" /> <ImageView android:id="@+id/image_content3" android:src="@mipmap/ic_launcher" android:layout_width="0dp" android:layout_weight="1" android:layout_height="200dp" /> </LinearLayout>
contextfragment xml 展示的xlistview,需导入xlistview的包才可以。
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <me.maxwin.view.XListView android:id="@+id/xlistView" android:layout_width="match_parent" android:layout_height="match_parent"></me.maxwin.view.XListView> </LinearLayout>
nextactivity 点击后展示出图片可以点击变大变小
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <uk.co.senab.photoview.PhotoView android:id="@+id/photoview" android:layout_width="match_parent" android:layout_height="match_parent" /> </LinearLayout>
接下就是Class类了。
因为我们使用了xutils,所以创建这个类展示它的数据
public class MyApplication extends Application{ @Override public void onCreate() { super.onCreate(); x.Ext.init(this); x.Ext.setDebug(BuildConfig.DEBUG); } }
ContextFragment 类继承与Fragmentpublic class ContextFragment extends Fragment { private static final String TAG = "MainActivity"; private List<News.DataBeanX.DataBean> data; private XListView mxListView; private List<News.DataBeanX.DataBean.GroupBean.MiddleImageBean.UrlListBeanX> url_list; @Nullable @Override public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { View view = inflater.inflate(R.layout.contextfragment, null); mxListView = (XListView) view.findViewById(R.id.xlistView); /** * 网络解析 */ httpContentUrl(); //点击事件传图片 mxListView.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { Intent intent = new Intent(getActivity(), NextActivity.class); intent.putExtra("image", data.get(position - 1).getGroup().getMiddle_image().getUrl_list().get(0).getUrl()); startActivity(intent); } }); // 点击事件上拉刷新 mxListView.setXListViewListener(new XListView.IXListViewListener() { @Override public void onRefresh() { httpContentUrl(); onload(); } @Override public void onLoadMore() { } //结束的方法 public void onload() { mxListView.stopRefresh();//停止刷新 mxListView.stopLoadMore();//停止加载更多 mxListView.setRefreshTime("刚刚");//设置时间 } }); return view; } private void httpContentUrl() { x.http().get(new RequestParams("http://lf.snssdk.com/neihan/stream/mix/v1/?content_type=-103"), new Callback.CommonCallback<String>() { @Override public void onSuccess(String result) { Gson gson = new Gson(); //解析的数据封装成集合 News news = gson.fromJson(result, News.class); data = news.getData().getData(); mxListView.setAdapter(new MyContextAdapter()); } @Override public void onError(Throwable ex, boolean isOnCallback) { Log.e(TAG, "onError: " + ex.getMessage() + "**"); } @Override public void onCancelled(CancelledException cex) { } @Override public void onFinished() { } }); } /** * 内部适配器 */ class MyContextAdapter extends BaseAdapter { @Override public int getCount() { return data.size(); } @Override public Object getItem(int position) { return data.get(position); } @Override public long getItemId(int position) { return position; } //优化适配器 @Override public View getView(int position, View convertView, ViewGroup parent) { ViewHolder viewHolder = null; if (convertView == null) { convertView = View.inflate(getActivity(), R.layout.contentitem, null); viewHolder = new ViewHolder(); viewHolder.imageView = (ImageView) convertView.findViewById(R.id.image_content); viewHolder.imageView2 = (ImageView) convertView.findViewById(R.id.image_content2); viewHolder.imageView3 = (ImageView) convertView.findViewById(R.id.image_content3); convertView.setTag(viewHolder); } else { viewHolder = (ViewHolder) convertView.getTag(); } //赋值 Glide.with(getActivity()).load(data.get(position).getGroup().getMiddle_image().getUrl_list().get(0).getUrl()).into(viewHolder.imageView); Glide.with(getActivity()).load(data.get(position).getGroup().getMiddle_image().getUrl_list().get(1).getUrl()).into(viewHolder.imageView2); Glide.with(getActivity()).load(data.get(position).getGroup().getMiddle_image().getUrl_list().get(2).getUrl()).into(viewHolder.imageView3); return convertView; } } class ViewHolder { ImageView imageView, imageView2, imageView3; } }
主Activity 类
public class MainActivity extends AppCompatActivity { private TabLayout tabTitle; private ViewPager viewPager; private List<Fragment> fragments; private List<String> titles; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); /** * 网络解析 */ httpContentUrl(); } private void httpContentUrl() { x.http().get(new RequestParams("http://lf.snssdk.com/neihan/service/tabs/?essence=1&iid=3216590132&device_id=32613520945&ac=wifi&channel=360&aid=7&app_name=joke_essay&version_code=612&version_name=6.1.2&device_platform=android&ssmix=a&device_type=sansung&device_brand=xiaomi&os_api=28&os_version=6.10.1&uuid=326135942187625&openudid=3dg6s95rhg2a3dg5&manifest_version_code=612&resolution=1450*2800&dpi=620&update_version_code=6120"), new Callback.CommonCallback<String>() { @Override public void onSuccess(String result) { initView(); Gson gson = new Gson(); TitleBean titleBean = gson.fromJson(result, TitleBean.class); List<TitleBean.DataBean> title = titleBean.getData(); //得到数据添加到集合 for (TitleBean.DataBean dataBean:title){ titles.add(dataBean.getName()); } //设置tablayout 属性 tabTitle.setupWithViewPager(viewPager); tabTitle.setTabMode(TabLayout.MODE_SCROLLABLE); tabTitle.setTabGravity(TabLayout.GRAVITY_FILL); for (int i = 0; i < titles.size(); i++) { fragments.add(new ContextFragment()); } //加载适配器 viewPager.setAdapter(new MyAdapter(getSupportFragmentManager())); } @Override public void onError(Throwable ex, boolean isOnCallback) { } @Override public void onCancelled(Callback.CancelledException cex) { } @Override public void onFinished() { } }); } private void initView() { tabTitle = (TabLayout) findViewById(R.id.tableLayout_title); viewPager = (ViewPager) findViewById(R.id.viewPager); titles = new ArrayList<>(); fragments = new ArrayList<>(); } /** * 内部适配器 */ class MyAdapter extends FragmentPagerAdapter { public MyAdapter(FragmentManager fm) { super(fm); } @Override public Fragment getItem(int position) { return fragments.get(position); } @Override public int getCount() { return fragments.size(); } @Override public CharSequence getPageTitle(int position) { return titles.get(position); } } }
NextActivity 类
public class NextActivity extends AppCompatActivity{ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.nextactivity); PhotoView photoView= (PhotoView) findViewById(R.id.photoview); Intent intent=getIntent(); String image = intent.getStringExtra("image"); Glide.with(NextActivity.this).load(image).into(photoView); } }
News 类 展示的数据
public class News { /** * message : success * data : {"has_more":true,"tip":"11条新内容","has_new_message":false,"max_time":1.4988715909E9,"min_time":1498871591,"data":[{"group":{"user":{"user_id":3351523446,"name":"别看我就是一只羊","followings":0,"user_verified":false,"ugc_count":2185,"avatar_url":"http://tp3.sinaimg.cn/3049822714/50/5651374921/0","followers":9860,"is_following":false,"is_pro_user":false},"text":" ","dislike_reason":[{"type":2,"id":85,"title":"吧:日式吐槽"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":3351523446,"title":"作者:别看我就是一只羊"}],"create_time":1432209487,"id":4390743989,"favorite_count":3,"go_detail_count":636,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/4390743989/?iid=0&app=joke_essay","label":1,"content":" ","comment_count":7,"id_str":"4390743989","media_type":1,"share_count":9,"type":3,"status":112,"has_comments":0,"large_image":{"width":546,"r_height":525,"r_width":546,"url_list":[{"url":"http://p3.pstatp.com/large/3703/2240996626"},{"url":"http://pb9.pstatp.com/large/3703/2240996626"},{"url":"http://pb1.pstatp.com/large/3703/2240996626"}],"uri":"large/3703/2240996626","height":525},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1432209487,"category_name":"日式吐槽","category_visible":true,"bury_count":163,"is_anonymous":false,"repin_count":3,"min_screen_width_percent":0.167,"digg_count":675,"has_hot_comments":1,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":4390743989,"middle_image":{"width":202,"r_height":194,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/3703/2240996626"},{"url":"http://pb9.pstatp.com/w202/3703/2240996626"},{"url":"http://pb1.pstatp.com/w202/3703/2240996626"}],"uri":"w202/3703/2240996626","height":194},"category_id":85},"comments":[],"type":1,"display_time":1498871591,"online_time":1498871591},{"group":{"user":{"user_id":13746569650,"name":"雷霆队扛把子-神龟威少","followings":0,"user_verified":false,"ugc_count":452,"avatar_url":"http://p1.pstatp.com/medium/1dcc000e4493d9a283e5","followers":8968,"is_following":false,"is_pro_user":false},"text":"别急,一个个说","dislike_reason":[{"type":1,"id":467,"title":"电视剧"},{"type":2,"id":10,"title":"吧:爆笑GIF"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":13746569650,"title":"作者:雷霆队扛把子-神龟威少"}],"create_time":1497422761,"id":61974142137,"favorite_count":8,"go_detail_count":19314,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/61974142137/?iid=0&app=joke_essay","label":1,"content":"别急,一个个说","comment_count":64,"id_str":"61974142137","media_type":2,"share_count":96,"type":3,"status":112,"has_comments":1,"large_image":{"width":400,"r_height":300,"r_width":400,"url_list":[{"url":"http://p1.pstatp.com/large/22e30005385d65bd6e60"},{"url":"http://pb3.pstatp.com/large/22e30005385d65bd6e60"},{"url":"http://pb9.pstatp.com/large/22e30005385d65bd6e60"}],"uri":"large/22e30005385d65bd6e60","height":300},"user_bury":0,"status_desc":"热门投稿","display_type":0,"is_gif":1,"user_digg":0,"online_time":1497422761,"category_name":"爆笑GIF","category_visible":true,"bury_count":112,"is_anonymous":false,"repin_count":8,"min_screen_width_percent":0.167,"digg_count":7443,"gifvideo":{"360p_video":{"width":400,"url_list":[{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=360p&line=0&is_gif=1&device_platform=None"},{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=360p&line=1&is_gif=1&device_platform=None"}],"uri":"360p/4de0504abb42413282df906680d6edfa","height":300},"origin_video":{"width":400,"url_list":[{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=origin&line=0&is_gif=1&device_platform=None"},{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=origin&line=1&is_gif=1&device_platform=None"}],"uri":"origin/4de0504abb42413282df906680d6edfa","height":300},"video_id":"4de0504abb42413282df906680d6edfa","720p_video":{"width":400,"url_list":[{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=720p&line=0&is_gif=1&device_platform=None"},{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=720p&line=1&is_gif=1&device_platform=None"}],"uri":"720p/4de0504abb42413282df906680d6edfa","height":300},"mp4_url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=480p&line=0&is_gif=1&device_platform=None.mp4","video_height":300,"480p_video":{"width":400,"url_list":[{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=480p&line=0&is_gif=1&device_platform=None"},{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=480p&line=1&is_gif=1&device_platform=None"}],"uri":"480p/4de0504abb42413282df906680d6edfa","height":300},"cover_image_uri":"27ce0007d9314f5eea04","duration":22.3,"video_width":400},"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":61974142137,"middle_image":{"width":202,"r_height":151,"r_width":202,"url_list":[{"url":"http://p1.pstatp.com/w202/22e30005385d65bd6e60"},{"url":"http://pb3.pstatp.com/w202/22e30005385d65bd6e60"},{"url":"http://pb9.pstatp.com/w202/22e30005385d65bd6e60"}],"uri":"w202/22e30005385d65bd6e60","height":151},"category_id":10},"comments":[{"text":"隋唐以肥为美","create_time":1497428205,"user_verified":false,"user_bury":0,"user_id":6899851550,"bury_count":0,"share_url":"http://m.neihanshequ.com/share/group/61974142137/?comment_id=1570167277730817","id":1570167277730817,"platform":"feifei","is_digg":0,"user_name":"焦糖玛奇朵11...","user_profile_image_url":"http://p3.pstatp.com/thumb/96a00063a5f92a48eb0","status":5,"description":"","comment_id":1570167277730817,"user_digg":0,"user_profile_url":"","share_type":1,"digg_count":8322,"is_pro_user":false,"platform_id":"feifei","avatar_url":"http://p3.pstatp.com/thumb/96a00063a5f92a48eb0","group_id":61974142137}],"type":1,"display_time":1.49887159099E9,"online_time":1.49887159099E9},{"group":{"user":{"user_id":50101110151,"name":"搞笑的都在我这","followings":0,"user_verified":false,"ugc_count":48,"avatar_url":"http://p3.pstatp.com/medium/18a40017bb9ec89ef997","followers":1941,"is_following":false,"is_pro_user":false},"text":"腾讯就是这么钢","dislike_reason":[{"type":1,"id":302,"title":"糗人糗事"},{"type":2,"id":59,"title":"吧:突然觉得哪里不对"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":50101110151,"title":"作者:搞笑的都在我这"}],"create_time":1492682127,"id":59254540797,"favorite_count":2,"go_detail_count":940,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/59254540797/?iid=0&app=joke_essay","label":1,"content":"腾讯就是这么钢","comment_count":4,"id_str":"59254540797","media_type":1,"share_count":10,"type":3,"status":112,"has_comments":0,"large_image":{"width":720,"r_height":1138,"r_width":640,"url_list":[{"url":"http://p3.pstatp.com/large/1bf20003d73a9f64f96e"},{"url":"http://pb9.pstatp.com/large/1bf20003d73a9f64f96e"},{"url":"http://pb1.pstatp.com/large/1bf20003d73a9f64f96e"}],"uri":"large/1bf20003d73a9f64f96e","height":1280},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1492682127,"category_name":"突然觉得哪里不对","category_visible":true,"bury_count":7,"is_anonymous":false,"repin_count":2,"min_screen_width_percent":0.167,"digg_count":87,"has_hot_comments":1,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":59254540797,"middle_image":{"width":202,"r_height":359,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/1bf20003d73a9f64f96e"},{"url":"http://pb9.pstatp.com/w202/1bf20003d73a9f64f96e"},{"url":"http://pb1.pstatp.com/w202/1bf20003d73a9f64f96e"}],"uri":"w202/1bf20003d73a9f64f96e","height":359},"category_id":59},"comments":[],"type":1,"display_time":1.49887159098E9,"online_time":1.49887159098E9},{"group":{"user":{"user_id":6794189231,"name":"MDZZMMP","followings":0,"user_verified":false,"ugc_count":40,"avatar_url":"http://p9.pstatp.com/medium/150e0002ed3cb77d909e","followers":1,"is_following":false,"is_pro_user":false},"text":"","dislike_reason":[{"type":1,"id":339,"title":"搞笑"},{"type":2,"id":85,"title":"吧:日式吐槽"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":6794189231,"title":"作者:MDZZMMP"}],"create_time":1495308534,"id":60705166414,"favorite_count":2,"go_detail_count":647,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/60705166414/?iid=0&app=joke_essay","label":1,"content":"","comment_count":5,"id_str":"60705166414","media_type":1,"share_count":6,"type":3,"status":112,"has_comments":0,"large_image":{"width":437,"r_height":480,"r_width":437,"url_list":[{"url":"http://p1.pstatp.com/large/1fd80002abaad5951d47"},{"url":"http://pb3.pstatp.com/large/1fd80002abaad5951d47"},{"url":"http://pb9.pstatp.com/large/1fd80002abaad5951d47"}],"uri":"large/1fd80002abaad5951d47","height":480},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1495308534,"category_name":"日式吐槽","category_visible":true,"bury_count":14,"is_anonymous":false,"repin_count":2,"min_screen_width_percent":0.167,"digg_count":122,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":60705166414,"middle_image":{"width":202,"r_height":221,"r_width":202,"url_list":[{"url":"http://p1.pstatp.com/w202/1fd80002abaad5951d47"},{"url":"http://pb3.pstatp.com/w202/1fd80002abaad5951d47"},{"url":"http://pb9.pstatp.com/w202/1fd80002abaad5951d47"}],"uri":"w202/1fd80002abaad5951d47","height":221},"category_id":85},"comments":[],"type":1,"display_time":1.49887159097E9,"online_time":1.49887159097E9},{"group":{"user":{"user_id":5989859552,"name":"本以为是鸡汤没想到是砒霜","followings":0,"user_verified":false,"ugc_count":167,"avatar_url":"http://p3.pstatp.com/medium/2c650001841e13fa8302","followers":81,"is_following":false,"is_pro_user":false},"text":"","dislike_reason":[{"type":2,"id":85,"title":"吧:日式吐槽"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":5989859552,"title":"作者:本以为是鸡汤没想到是砒霜"}],"create_time":1492240269,"id":59114282485,"favorite_count":1,"go_detail_count":255,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/59114282485/?iid=0&app=joke_essay","label":1,"content":"","comment_count":3,"id_str":"59114282485","media_type":1,"share_count":4,"type":3,"status":112,"has_comments":0,"large_image":{"width":500,"r_height":503,"r_width":500,"url_list":[{"url":"http://p3.pstatp.com/large/1b1400036839e1faef7a"},{"url":"http://pb9.pstatp.com/large/1b1400036839e1faef7a"},{"url":"http://pb1.pstatp.com/large/1b1400036839e1faef7a"}],"uri":"large/1b1400036839e1faef7a","height":503},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1492240269,"category_name":"日式吐槽","category_visible":true,"bury_count":30,"is_anonymous":false,"repin_count":1,"min_screen_width_percent":0.167,"digg_count":177,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":59114282485,"middle_image":{"width":202,"r_height":203,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/1b1400036839e1faef7a"},{"url":"http://pb9.pstatp.com/w202/1b1400036839e1faef7a"},{"url":"http://pb1.pstatp.com/w202/1b1400036839e1faef7a"}],"uri":"w202/1b1400036839e1faef7a","height":203},"category_id":85},"comments":[],"type":1,"display_time":1.49887159096E9,"online_time":1.49887159096E9},{"group":{"user":{"user_id":56194366936,"name":"oppoCEO内涵小号","followings":0,"user_verified":false,"ugc_count":27,"avatar_url":"http://p1.pstatp.com/medium/1bf7001f9015989fccb8","followers":40,"is_following":false,"is_pro_user":false},"text":"切西瓜相当不错","dislike_reason":[{"type":1,"id":325,"title":"创意"},{"type":2,"id":2,"title":"吧:搞笑囧图"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":56194366936,"title":"作者:oppoCEO内涵小号"}],"create_time":1495365831,"id":60743348497,"favorite_count":26,"go_detail_count":24722,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/60743348497/?iid=0&app=joke_essay","label":1,"content":"切西瓜相当不错","comment_count":102,"id_str":"60743348497","media_type":1,"share_count":140,"type":3,"status":112,"has_comments":1,"large_image":{"width":600,"r_height":800,"r_width":600,"url_list":[{"url":"http://p3.pstatp.com/large/1e1500031bc9466ce05e"},{"url":"http://pb9.pstatp.com/large/1e1500031bc9466ce05e"},{"url":"http://pb1.pstatp.com/large/1e1500031bc9466ce05e"}],"uri":"large/1e1500031bc9466ce05e","height":800},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1495365831,"category_name":"搞笑囧图","category_visible":true,"bury_count":73,"is_anonymous":false,"repin_count":26,"min_screen_width_percent":0.167,"digg_count":7634,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":60743348497,"middle_image":{"width":202,"r_height":269,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/1e1500031bc9466ce05e"},{"url":"http://pb9.pstatp.com/w202/1e1500031bc9466ce05e"},{"url":"http://pb1.pstatp.com/w202/1e1500031bc9466ce05e"}],"uri":"w202/1e1500031bc9466ce05e","height":269},"category_id":2},"comments":[{"text":"谁抢中间的,我让你去医院躺着吃西瓜","create_time":1495453562,"user_verified":false,"user_bury":0,"user_id":5909963141,"bury_count":0,"share_url":"http://m.neihanshequ.com/share/group/60743348497/?comment_id=1568096714179650","id":1568096714179650,"platform":"feifei","is_digg":0,"user_name":"喝醉的汉堡包","user_profile_image_url":"http://p1.pstatp.com/thumb/1234000350f7b6b0be92","status":5,"description":"这个人很懒,留下一地精","comment_id":1568096714179650,"user_digg":0,"user_profile_url":"","share_type":2,"digg_count":17042,"is_pro_user":false,"platform_id":"feifei","avatar_url":"http://p1.pstatp.com/thumb/1234000350f7b6b0be92","group_id":60743348497}],"type":1,"display_time":1.49887159095E9,"online_time":1.49887159095E9},{"group":{"user":{"user_id":-1,"name":"匿名用户","followings":0,"user_verified":false,"ugc_count":0,"avatar_url":"http://mat1.gtimg.com/www/mb/images/head_50.jpg","followers":0,"is_following":false,"is_pro_user":false},"text":"不要再说螃蟹是怎么生出鲸鱼的了 看图 谢谢","dislike_reason":[{"type":1,"id":355,"title":"原创手绘漫画"},{"type":2,"id":2,"title":"吧:搞笑囧图"},{"type":4,"id":0,"title":"内容重复"},{"type":5,"id":0,"title":"作者:匿名"}],"create_time":1496545179,"id":61515411373,"favorite_count":457,"go_detail_count":156257,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/61515411373/?iid=0&app=joke_essay","label":1,"content":"不要再说螃蟹是怎么生出鲸鱼的了 看图 谢谢","comment_count":241,"id_str":"61515411373","media_type":1,"share_count":398,"type":3,"status":112,"has_comments":1,"large_image":{"width":448,"r_height":867,"r_width":448,"url_list":[{"url":"http://p1.pstatp.com/large/22da000509e1d901b2df"},{"url":"http://pb3.pstatp.com/large/22da000509e1d901b2df"},{"url":"http://pb9.pstatp.com/large/22da000509e1d901b2df"}],"uri":"large/22da000509e1d901b2df","height":867},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1496545179,"category_name":"搞笑囧图","category_visible":true,"bury_count":226,"is_anonymous":true,"repin_count":457,"min_screen_width_percent":0.167,"digg_count":33779,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":61515411373,"middle_image":{"width":202,"r_height":390,"r_width":202,"url_list":[{"url":"http://p1.pstatp.com/w202/22da000509e1d901b2df"},{"url":"http://pb3.pstatp.com/w202/22da000509e1d901b2df"},{"url":"http://pb9.pstatp.com/w202/22da000509e1d901b2df"}],"uri":"w202/22da000509e1d901b2df","height":390},"category_id":2},"comments":[{"text":"知道蟹老板为什么这么抠门了吧?因为人家要养一条鲸鱼!","create_time":1496638882,"user_verified":false,"user_bury":0,"user_id":56755673523,"bury_count":0,"share_url":"http://m.neihanshequ.com/share/group/61515411373/?comment_id=1569339612371969","id":1569339612371969,"platform":"feifei","is_digg":0,"user_name":"默然无声i","user_profile_image_url":"http://p9.pstatp.com/thumb/216f000a4eab90e042f5","status":5,"description":"","comment_id":1569339612371969,"user_digg":0,"user_profile_url":"","share_type":2,"digg_count":63539,"is_pro_user":false,"platform_id":"feifei","avatar_url":"http://p9.pstatp.com/thumb/216f000a4eab90e042f5","group_id":61515411373}],"type":1,"display_time":1.49887159094E9,"online_time":1.49887159094E9},{"group":{"user":{"user_id":54969842666,"name":"山西高涛左膀右臂","followings":0,"user_verified":false,"ugc_count":28,"avatar_url":"http://p9.pstatp.com/medium/289e000db06ca44486e9","followers":22,"is_following":false,"is_pro_user":false},"text":"我表弟幼儿园的时装比赛","dislike_reason":[{"type":1,"id":471,"title":"熊孩子"},{"type":2,"id":2,"title":"吧:搞笑囧图"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":54969842666,"title":"作者:山西高涛左膀右臂"}],"create_time":1495810119,"id":61085036745,"favorite_count":83,"go_detail_count":40419,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/61085036745/?iid=0&app=joke_essay","label":1,"content":"我表弟幼儿园的时装比赛","comment_count":469,"id_str":"61085036745","media_type":1,"share_count":737,"type":3,"status":112,"has_comments":1,"large_image":{"width":960,"r_height":853,"r_width":640,"url_list":[{"url":"http://p3.pstatp.com/large/22dd00012688b050b08d"},{"url":"http://pb9.pstatp.com/large/22dd00012688b050b08d"},{"url":"http://pb1.pstatp.com/large/22dd00012688b050b08d"}],"uri":"large/22dd00012688b050b08d","height":1280},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1495810119,"category_name":"搞笑囧图","category_visible":true,"bury_count":116,"is_anonymous":false,"repin_count":83,"min_screen_width_percent":0.167,"digg_count":13442,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":61085036745,"middle_image":{"width":202,"r_height":269,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/22dd00012688b050b08d"},{"url":"http://pb9.pstatp.com/w202/22dd00012688b050b08d"},{"url":"http://pb1.pstatp.com/w202/22dd00012688b050b08d"}],"uri":"w202/22dd00012688b050b08d","height":269},"category_id":2},"comments":[{"text":"火辣辣的心,火辣辣的情,火辣辣的小辣椒他透着心里红!","create_time":1495933814,"user_verified":false,"user_bury":0,"user_id":3516310907,"bury_count":0,"share_url":"http://m.neihanshequ.com/share/group/61085036745/?comment_id=1568600294491138","id":1568600294491138,"platform":"feifei","is_digg":0,"user_name":"球逗麻袋","user_profile_image_url":"http://p3.pstatp.com/thumb/14f001f351ad14fbc0c","status":5,"description":"","comment_id":1568600294491138,"user_digg":0,"user_profile_url":"","share_type":2,"digg_count":19831,"is_pro_user":false,"platform_id":"feifei","avatar_url":"http://p3.pstatp.com/thumb/14f001f351ad14fbc0c","group_id":61085036745},{"text":"家里是卖菜的吧","create_time":1495933267,"user_verified":false,"user_bury":0,"user_id":51765963751,"bury_count":0,"share_url":"http://m.neihanshequ.com/share/group/61085036745/?comment_id=1568599721138177","id":1568599721138177,"platform":"feifei","is_digg":0,"user_name":"皮皮妞ing","user_profile_image_url":"http://p1.pstatp.com/thumb/150c0003e68777e49586","status":5,"description":"","comment_id":1568599721138177,"user_digg":0,"user_profile_url":"","share_type":2,"digg_count":11946,"is_pro_user":false,"platform_id":"feifei","avatar_url":"http://p1.pstatp.com/thumb/150c0003e68777e49586","group_id":61085036745}],"type":1,"display_time":1.49887159093E9,"online_time":1.49887159093E9},{"group":{"user":{"user_id":6949428098,"name":"辽H猫66","followings":0,"user_verified":false,"ugc_count":12,"avatar_url":"http://p3.pstatp.com/medium/150c0005b530f5c22f66","followers":57,"is_following":false,"is_pro_user":false},"text":"","dislike_reason":[{"type":1,"id":312,"title":"对话"},{"type":2,"id":15,"title":"吧:脑残对话"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":6949428098,"title":"作者:辽H猫66"}],"create_time":1476431385,"id":51560423786,"favorite_count":2,"go_detail_count":1235,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":2,"share_url":"http://m.neihanshequ.com/share/group/51560423786/?iid=0&app=joke_essay","label":1,"content":"","comment_count":23,"id_str":"51560423786","media_type":1,"share_count":27,"type":3,"status":112,"has_comments":0,"large_image":{"width":720,"r_height":1138,"r_width":640,"url_list":[{"url":"http://p1.pstatp.com/large/ec800045356e1a7d64b"},{"url":"http://pb3.pstatp.com/large/ec800045356e1a7d64b"},{"url":"http://pb9.pstatp.com/large/ec800045356e1a7d64b"}],"uri":"large/ec800045356e1a7d64b","height":1280},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1476431385,"category_name":"脑残对话","category_visible":true,"bury_count":40,"is_anonymous":false,"repin_count":2,"min_screen_width_percent":0.167,"digg_count":470,"has_hot_comments":1,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":51560423786,"middle_image":{"width":202,"r_height":359,"r_width":202,"url_list":[{"url":"http://p1.pstatp.com/w202/ec800045356e1a7d64b"},{"url":"http://pb3.pstatp.com/w202/ec800045356e1a7d64b"},{"url":"http://pb9.pstatp.com/w202/ec800045356e1a7d64b"}],"uri":"w202/ec800045356e1a7d64b","height":359},"category_id":15},"comments":[],"type":1,"display_time":1.49887159092E9,"online_time":1.49887159092E9},{"group":{"user":{"user_id":3979571188,"name":"联合国灭猫灭狗小分队队长","followings":0,"user_verified":false,"ugc_count":12,"avatar_url":"http://p9.pstatp.com/medium/41100048ab31514f153","followers":46,"is_following":false,"is_pro_user":false},"text":"跟表哥一起抓蜥蜴吃 ,今天终于有肉吃了 ,开森","dislike_reason":[{"type":1,"id":351,"title":"吐槽"},{"type":2,"id":80,"title":"吧:来自世界的恶意"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":3979571188,"title":"作者:联合国灭猫灭狗小分队队长"}],"create_time":1487476069,"id":55987216685,"favorite_count":0,"go_detail_count":738,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/55987216685/?iid=0&app=joke_essay","label":1,"content":"跟表哥一起抓蜥蜴吃 ,今天终于有肉吃了 ,开森","comment_count":15,"id_str":"55987216685","media_type":1,"share_count":24,"type":3,"status":112,"has_comments":0,"large_image":{"width":639,"r_height":858,"r_width":639,"url_list":[{"url":"http://p1.pstatp.com/large/16e70002359085001cb1"},{"url":"http://pb3.pstatp.com/large/16e70002359085001cb1"},{"url":"http://pb9.pstatp.com/large/16e70002359085001cb1"}],"uri":"large/16e70002359085001cb1","height":858},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1487476069,"category_name":"来自世界的恶意","category_visible":true,"bury_count":9,"is_anonymous":false,"repin_count":0,"min_screen_width_percent":0.167,"digg_count":159,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":55987216685,"middle_image":{"width":202,"r_height":271,"r_width":202,"url_list":[{"url":"http://p1.pstatp.com/w202/16e70002359085001cb1"},{"url":"http://pb3.pstatp.com/w202/16e70002359085001cb1"},{"url":"http://pb9.pstatp.com/w202/16e70002359085001cb1"}],"uri":"w202/16e70002359085001cb1","height":271},"category_id":80},"comments":[],"type":1,"display_time":1.49887159091E9,"online_time":1.49887159091E9},{"group":{"user":{"user_id":59581005909,"name":"祖国的敏花朵","followings":0,"user_verified":false,"ugc_count":6,"avatar_url":"http://p3.pstatp.com/medium/1a6d001e300e0132559b","followers":19,"is_following":false,"is_pro_user":false},"text":"老司机求解。","dislike_reason":[{"type":1,"id":440,"title":"内涵"},{"type":2,"id":59,"title":"吧:突然觉得哪里不对"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":59581005909,"title":"作者:祖国的敏花朵"}],"create_time":1493480287,"id":59599864808,"favorite_count":67,"go_detail_count":449131,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/59599864808/?iid=0&app=joke_essay","label":1,"content":"老司机求解。","comment_count":1318,"id_str":"59599864808","media_type":1,"share_count":3275,"type":3,"status":112,"has_comments":0,"large_image":{"width":440,"r_height":716,"r_width":440,"url_list":[{"url":"http://p3.pstatp.com/large/1cd200043bcc5413a40f"},{"url":"http://pb9.pstatp.com/large/1cd200043bcc5413a40f"},{"url":"http://pb1.pstatp.com/large/1cd200043bcc5413a40f"}],"uri":"large/1cd200043bcc5413a40f","height":716},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1493480287,"category_name":"突然觉得哪里不对","category_visible":true,"bury_count":454,"is_anonymous":false,"repin_count":67,"min_screen_width_percent":0.167,"digg_count":4814,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":59599864808,"middle_image":{"width":202,"r_height":328,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/1cd200043bcc5413a40f"},{"url":"http://pb9.pstatp.com/w202/1cd200043bcc5413a40f"},{"url":"http://pb1.pstatp.com/w202/1cd200043bcc5413a40f"}],"uri":"w202/1cd200043bcc5413a40f","height":328},"category_id":59},"comments":[],"type":1,"display_time":1.4988715909E9,"online_time":1.4988715909E9}]} */ private String message; private DataBeanX data; public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public DataBeanX getData() { return data; } public void setData(DataBeanX data) { this.data = data; } public static class DataBeanX { /** * has_more : true * tip : 11条新内容 * has_new_message : false * max_time : 1.4988715909E9 * min_time : 1498871591 * data : [{"group":{"user":{"user_id":3351523446,"name":"别看我就是一只羊","followings":0,"user_verified":false,"ugc_count":2185,"avatar_url":"http://tp3.sinaimg.cn/3049822714/50/5651374921/0","followers":9860,"is_following":false,"is_pro_user":false},"text":" ","dislike_reason":[{"type":2,"id":85,"title":"吧:日式吐槽"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":3351523446,"title":"作者:别看我就是一只羊"}],"create_time":1432209487,"id":4390743989,"favorite_count":3,"go_detail_count":636,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/4390743989/?iid=0&app=joke_essay","label":1,"content":" ","comment_count":7,"id_str":"4390743989","media_type":1,"share_count":9,"type":3,"status":112,"has_comments":0,"large_image":{"width":546,"r_height":525,"r_width":546,"url_list":[{"url":"http://p3.pstatp.com/large/3703/2240996626"},{"url":"http://pb9.pstatp.com/large/3703/2240996626"},{"url":"http://pb1.pstatp.com/large/3703/2240996626"}],"uri":"large/3703/2240996626","height":525},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1432209487,"category_name":"日式吐槽","category_visible":true,"bury_count":163,"is_anonymous":false,"repin_count":3,"min_screen_width_percent":0.167,"digg_count":675,"has_hot_comments":1,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":4390743989,"middle_image":{"width":202,"r_height":194,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/3703/2240996626"},{"url":"http://pb9.pstatp.com/w202/3703/2240996626"},{"url":"http://pb1.pstatp.com/w202/3703/2240996626"}],"uri":"w202/3703/2240996626","height":194},"category_id":85},"comments":[],"type":1,"display_time":1498871591,"online_time":1498871591},{"group":{"user":{"user_id":13746569650,"name":"雷霆队扛把子-神龟威少","followings":0,"user_verified":false,"ugc_count":452,"avatar_url":"http://p1.pstatp.com/medium/1dcc000e4493d9a283e5","followers":8968,"is_following":false,"is_pro_user":false},"text":"别急,一个个说","dislike_reason":[{"type":1,"id":467,"title":"电视剧"},{"type":2,"id":10,"title":"吧:爆笑GIF"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":13746569650,"title":"作者:雷霆队扛把子-神龟威少"}],"create_time":1497422761,"id":61974142137,"favorite_count":8,"go_detail_count":19314,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/61974142137/?iid=0&app=joke_essay","label":1,"content":"别急,一个个说","comment_count":64,"id_str":"61974142137","media_type":2,"share_count":96,"type":3,"status":112,"has_comments":1,"large_image":{"width":400,"r_height":300,"r_width":400,"url_list":[{"url":"http://p1.pstatp.com/large/22e30005385d65bd6e60"},{"url":"http://pb3.pstatp.com/large/22e30005385d65bd6e60"},{"url":"http://pb9.pstatp.com/large/22e30005385d65bd6e60"}],"uri":"large/22e30005385d65bd6e60","height":300},"user_bury":0,"status_desc":"热门投稿","display_type":0,"is_gif":1,"user_digg":0,"online_time":1497422761,"category_name":"爆笑GIF","category_visible":true,"bury_count":112,"is_anonymous":false,"repin_count":8,"min_screen_width_percent":0.167,"digg_count":7443,"gifvideo":{"360p_video":{"width":400,"url_list":[{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=360p&line=0&is_gif=1&device_platform=None"},{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=360p&line=1&is_gif=1&device_platform=None"}],"uri":"360p/4de0504abb42413282df906680d6edfa","height":300},"origin_video":{"width":400,"url_list":[{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=origin&line=0&is_gif=1&device_platform=None"},{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=origin&line=1&is_gif=1&device_platform=None"}],"uri":"origin/4de0504abb42413282df906680d6edfa","height":300},"video_id":"4de0504abb42413282df906680d6edfa","720p_video":{"width":400,"url_list":[{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=720p&line=0&is_gif=1&device_platform=None"},{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=720p&line=1&is_gif=1&device_platform=None"}],"uri":"720p/4de0504abb42413282df906680d6edfa","height":300},"mp4_url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=480p&line=0&is_gif=1&device_platform=None.mp4","video_height":300,"480p_video":{"width":400,"url_list":[{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=480p&line=0&is_gif=1&device_platform=None"},{"url":"http://ic.snssdk.com/neihan/video/playback/?video_id=4de0504abb42413282df906680d6edfa&quality=480p&line=1&is_gif=1&device_platform=None"}],"uri":"480p/4de0504abb42413282df906680d6edfa","height":300},"cover_image_uri":"27ce0007d9314f5eea04","duration":22.3,"video_width":400},"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":61974142137,"middle_image":{"width":202,"r_height":151,"r_width":202,"url_list":[{"url":"http://p1.pstatp.com/w202/22e30005385d65bd6e60"},{"url":"http://pb3.pstatp.com/w202/22e30005385d65bd6e60"},{"url":"http://pb9.pstatp.com/w202/22e30005385d65bd6e60"}],"uri":"w202/22e30005385d65bd6e60","height":151},"category_id":10},"comments":[{"text":"隋唐以肥为美","create_time":1497428205,"user_verified":false,"user_bury":0,"user_id":6899851550,"bury_count":0,"share_url":"http://m.neihanshequ.com/share/group/61974142137/?comment_id=1570167277730817","id":1570167277730817,"platform":"feifei","is_digg":0,"user_name":"焦糖玛奇朵11...","user_profile_image_url":"http://p3.pstatp.com/thumb/96a00063a5f92a48eb0","status":5,"description":"","comment_id":1570167277730817,"user_digg":0,"user_profile_url":"","share_type":1,"digg_count":8322,"is_pro_user":false,"platform_id":"feifei","avatar_url":"http://p3.pstatp.com/thumb/96a00063a5f92a48eb0","group_id":61974142137}],"type":1,"display_time":1.49887159099E9,"online_time":1.49887159099E9},{"group":{"user":{"user_id":50101110151,"name":"搞笑的都在我这","followings":0,"user_verified":false,"ugc_count":48,"avatar_url":"http://p3.pstatp.com/medium/18a40017bb9ec89ef997","followers":1941,"is_following":false,"is_pro_user":false},"text":"腾讯就是这么钢","dislike_reason":[{"type":1,"id":302,"title":"糗人糗事"},{"type":2,"id":59,"title":"吧:突然觉得哪里不对"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":50101110151,"title":"作者:搞笑的都在我这"}],"create_time":1492682127,"id":59254540797,"favorite_count":2,"go_detail_count":940,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/59254540797/?iid=0&app=joke_essay","label":1,"content":"腾讯就是这么钢","comment_count":4,"id_str":"59254540797","media_type":1,"share_count":10,"type":3,"status":112,"has_comments":0,"large_image":{"width":720,"r_height":1138,"r_width":640,"url_list":[{"url":"http://p3.pstatp.com/large/1bf20003d73a9f64f96e"},{"url":"http://pb9.pstatp.com/large/1bf20003d73a9f64f96e"},{"url":"http://pb1.pstatp.com/large/1bf20003d73a9f64f96e"}],"uri":"large/1bf20003d73a9f64f96e","height":1280},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1492682127,"category_name":"突然觉得哪里不对","category_visible":true,"bury_count":7,"is_anonymous":false,"repin_count":2,"min_screen_width_percent":0.167,"digg_count":87,"has_hot_comments":1,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":59254540797,"middle_image":{"width":202,"r_height":359,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/1bf20003d73a9f64f96e"},{"url":"http://pb9.pstatp.com/w202/1bf20003d73a9f64f96e"},{"url":"http://pb1.pstatp.com/w202/1bf20003d73a9f64f96e"}],"uri":"w202/1bf20003d73a9f64f96e","height":359},"category_id":59},"comments":[],"type":1,"display_time":1.49887159098E9,"online_time":1.49887159098E9},{"group":{"user":{"user_id":6794189231,"name":"MDZZMMP","followings":0,"user_verified":false,"ugc_count":40,"avatar_url":"http://p9.pstatp.com/medium/150e0002ed3cb77d909e","followers":1,"is_following":false,"is_pro_user":false},"text":"","dislike_reason":[{"type":1,"id":339,"title":"搞笑"},{"type":2,"id":85,"title":"吧:日式吐槽"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":6794189231,"title":"作者:MDZZMMP"}],"create_time":1495308534,"id":60705166414,"favorite_count":2,"go_detail_count":647,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/60705166414/?iid=0&app=joke_essay","label":1,"content":"","comment_count":5,"id_str":"60705166414","media_type":1,"share_count":6,"type":3,"status":112,"has_comments":0,"large_image":{"width":437,"r_height":480,"r_width":437,"url_list":[{"url":"http://p1.pstatp.com/large/1fd80002abaad5951d47"},{"url":"http://pb3.pstatp.com/large/1fd80002abaad5951d47"},{"url":"http://pb9.pstatp.com/large/1fd80002abaad5951d47"}],"uri":"large/1fd80002abaad5951d47","height":480},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1495308534,"category_name":"日式吐槽","category_visible":true,"bury_count":14,"is_anonymous":false,"repin_count":2,"min_screen_width_percent":0.167,"digg_count":122,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":60705166414,"middle_image":{"width":202,"r_height":221,"r_width":202,"url_list":[{"url":"http://p1.pstatp.com/w202/1fd80002abaad5951d47"},{"url":"http://pb3.pstatp.com/w202/1fd80002abaad5951d47"},{"url":"http://pb9.pstatp.com/w202/1fd80002abaad5951d47"}],"uri":"w202/1fd80002abaad5951d47","height":221},"category_id":85},"comments":[],"type":1,"display_time":1.49887159097E9,"online_time":1.49887159097E9},{"group":{"user":{"user_id":5989859552,"name":"本以为是鸡汤没想到是砒霜","followings":0,"user_verified":false,"ugc_count":167,"avatar_url":"http://p3.pstatp.com/medium/2c650001841e13fa8302","followers":81,"is_following":false,"is_pro_user":false},"text":"","dislike_reason":[{"type":2,"id":85,"title":"吧:日式吐槽"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":5989859552,"title":"作者:本以为是鸡汤没想到是砒霜"}],"create_time":1492240269,"id":59114282485,"favorite_count":1,"go_detail_count":255,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/59114282485/?iid=0&app=joke_essay","label":1,"content":"","comment_count":3,"id_str":"59114282485","media_type":1,"share_count":4,"type":3,"status":112,"has_comments":0,"large_image":{"width":500,"r_height":503,"r_width":500,"url_list":[{"url":"http://p3.pstatp.com/large/1b1400036839e1faef7a"},{"url":"http://pb9.pstatp.com/large/1b1400036839e1faef7a"},{"url":"http://pb1.pstatp.com/large/1b1400036839e1faef7a"}],"uri":"large/1b1400036839e1faef7a","height":503},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1492240269,"category_name":"日式吐槽","category_visible":true,"bury_count":30,"is_anonymous":false,"repin_count":1,"min_screen_width_percent":0.167,"digg_count":177,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":59114282485,"middle_image":{"width":202,"r_height":203,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/1b1400036839e1faef7a"},{"url":"http://pb9.pstatp.com/w202/1b1400036839e1faef7a"},{"url":"http://pb1.pstatp.com/w202/1b1400036839e1faef7a"}],"uri":"w202/1b1400036839e1faef7a","height":203},"category_id":85},"comments":[],"type":1,"display_time":1.49887159096E9,"online_time":1.49887159096E9},{"group":{"user":{"user_id":56194366936,"name":"oppoCEO内涵小号","followings":0,"user_verified":false,"ugc_count":27,"avatar_url":"http://p1.pstatp.com/medium/1bf7001f9015989fccb8","followers":40,"is_following":false,"is_pro_user":false},"text":"切西瓜相当不错","dislike_reason":[{"type":1,"id":325,"title":"创意"},{"type":2,"id":2,"title":"吧:搞笑囧图"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":56194366936,"title":"作者:oppoCEO内涵小号"}],"create_time":1495365831,"id":60743348497,"favorite_count":26,"go_detail_count":24722,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/60743348497/?iid=0&app=joke_essay","label":1,"content":"切西瓜相当不错","comment_count":102,"id_str":"60743348497","media_type":1,"share_count":140,"type":3,"status":112,"has_comments":1,"large_image":{"width":600,"r_height":800,"r_width":600,"url_list":[{"url":"http://p3.pstatp.com/large/1e1500031bc9466ce05e"},{"url":"http://pb9.pstatp.com/large/1e1500031bc9466ce05e"},{"url":"http://pb1.pstatp.com/large/1e1500031bc9466ce05e"}],"uri":"large/1e1500031bc9466ce05e","height":800},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1495365831,"category_name":"搞笑囧图","category_visible":true,"bury_count":73,"is_anonymous":false,"repin_count":26,"min_screen_width_percent":0.167,"digg_count":7634,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":60743348497,"middle_image":{"width":202,"r_height":269,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/1e1500031bc9466ce05e"},{"url":"http://pb9.pstatp.com/w202/1e1500031bc9466ce05e"},{"url":"http://pb1.pstatp.com/w202/1e1500031bc9466ce05e"}],"uri":"w202/1e1500031bc9466ce05e","height":269},"category_id":2},"comments":[{"text":"谁抢中间的,我让你去医院躺着吃西瓜","create_time":1495453562,"user_verified":false,"user_bury":0,"user_id":5909963141,"bury_count":0,"share_url":"http://m.neihanshequ.com/share/group/60743348497/?comment_id=1568096714179650","id":1568096714179650,"platform":"feifei","is_digg":0,"user_name":"喝醉的汉堡包","user_profile_image_url":"http://p1.pstatp.com/thumb/1234000350f7b6b0be92","status":5,"description":"这个人很懒,留下一地精","comment_id":1568096714179650,"user_digg":0,"user_profile_url":"","share_type":2,"digg_count":17042,"is_pro_user":false,"platform_id":"feifei","avatar_url":"http://p1.pstatp.com/thumb/1234000350f7b6b0be92","group_id":60743348497}],"type":1,"display_time":1.49887159095E9,"online_time":1.49887159095E9},{"group":{"user":{"user_id":-1,"name":"匿名用户","followings":0,"user_verified":false,"ugc_count":0,"avatar_url":"http://mat1.gtimg.com/www/mb/images/head_50.jpg","followers":0,"is_following":false,"is_pro_user":false},"text":"不要再说螃蟹是怎么生出鲸鱼的了 看图 谢谢","dislike_reason":[{"type":1,"id":355,"title":"原创手绘漫画"},{"type":2,"id":2,"title":"吧:搞笑囧图"},{"type":4,"id":0,"title":"内容重复"},{"type":5,"id":0,"title":"作者:匿名"}],"create_time":1496545179,"id":61515411373,"favorite_count":457,"go_detail_count":156257,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/61515411373/?iid=0&app=joke_essay","label":1,"content":"不要再说螃蟹是怎么生出鲸鱼的了 看图 谢谢","comment_count":241,"id_str":"61515411373","media_type":1,"share_count":398,"type":3,"status":112,"has_comments":1,"large_image":{"width":448,"r_height":867,"r_width":448,"url_list":[{"url":"http://p1.pstatp.com/large/22da000509e1d901b2df"},{"url":"http://pb3.pstatp.com/large/22da000509e1d901b2df"},{"url":"http://pb9.pstatp.com/large/22da000509e1d901b2df"}],"uri":"large/22da000509e1d901b2df","height":867},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1496545179,"category_name":"搞笑囧图","category_visible":true,"bury_count":226,"is_anonymous":true,"repin_count":457,"min_screen_width_percent":0.167,"digg_count":33779,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":61515411373,"middle_image":{"width":202,"r_height":390,"r_width":202,"url_list":[{"url":"http://p1.pstatp.com/w202/22da000509e1d901b2df"},{"url":"http://pb3.pstatp.com/w202/22da000509e1d901b2df"},{"url":"http://pb9.pstatp.com/w202/22da000509e1d901b2df"}],"uri":"w202/22da000509e1d901b2df","height":390},"category_id":2},"comments":[{"text":"知道蟹老板为什么这么抠门了吧?因为人家要养一条鲸鱼!","create_time":1496638882,"user_verified":false,"user_bury":0,"user_id":56755673523,"bury_count":0,"share_url":"http://m.neihanshequ.com/share/group/61515411373/?comment_id=1569339612371969","id":1569339612371969,"platform":"feifei","is_digg":0,"user_name":"默然无声i","user_profile_image_url":"http://p9.pstatp.com/thumb/216f000a4eab90e042f5","status":5,"description":"","comment_id":1569339612371969,"user_digg":0,"user_profile_url":"","share_type":2,"digg_count":63539,"is_pro_user":false,"platform_id":"feifei","avatar_url":"http://p9.pstatp.com/thumb/216f000a4eab90e042f5","group_id":61515411373}],"type":1,"display_time":1.49887159094E9,"online_time":1.49887159094E9},{"group":{"user":{"user_id":54969842666,"name":"山西高涛左膀右臂","followings":0,"user_verified":false,"ugc_count":28,"avatar_url":"http://p9.pstatp.com/medium/289e000db06ca44486e9","followers":22,"is_following":false,"is_pro_user":false},"text":"我表弟幼儿园的时装比赛","dislike_reason":[{"type":1,"id":471,"title":"熊孩子"},{"type":2,"id":2,"title":"吧:搞笑囧图"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":54969842666,"title":"作者:山西高涛左膀右臂"}],"create_time":1495810119,"id":61085036745,"favorite_count":83,"go_detail_count":40419,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/61085036745/?iid=0&app=joke_essay","label":1,"content":"我表弟幼儿园的时装比赛","comment_count":469,"id_str":"61085036745","media_type":1,"share_count":737,"type":3,"status":112,"has_comments":1,"large_image":{"width":960,"r_height":853,"r_width":640,"url_list":[{"url":"http://p3.pstatp.com/large/22dd00012688b050b08d"},{"url":"http://pb9.pstatp.com/large/22dd00012688b050b08d"},{"url":"http://pb1.pstatp.com/large/22dd00012688b050b08d"}],"uri":"large/22dd00012688b050b08d","height":1280},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1495810119,"category_name":"搞笑囧图","category_visible":true,"bury_count":116,"is_anonymous":false,"repin_count":83,"min_screen_width_percent":0.167,"digg_count":13442,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":61085036745,"middle_image":{"width":202,"r_height":269,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/22dd00012688b050b08d"},{"url":"http://pb9.pstatp.com/w202/22dd00012688b050b08d"},{"url":"http://pb1.pstatp.com/w202/22dd00012688b050b08d"}],"uri":"w202/22dd00012688b050b08d","height":269},"category_id":2},"comments":[{"text":"火辣辣的心,火辣辣的情,火辣辣的小辣椒他透着心里红!","create_time":1495933814,"user_verified":false,"user_bury":0,"user_id":3516310907,"bury_count":0,"share_url":"http://m.neihanshequ.com/share/group/61085036745/?comment_id=1568600294491138","id":1568600294491138,"platform":"feifei","is_digg":0,"user_name":"球逗麻袋","user_profile_image_url":"http://p3.pstatp.com/thumb/14f001f351ad14fbc0c","status":5,"description":"","comment_id":1568600294491138,"user_digg":0,"user_profile_url":"","share_type":2,"digg_count":19831,"is_pro_user":false,"platform_id":"feifei","avatar_url":"http://p3.pstatp.com/thumb/14f001f351ad14fbc0c","group_id":61085036745},{"text":"家里是卖菜的吧","create_time":1495933267,"user_verified":false,"user_bury":0,"user_id":51765963751,"bury_count":0,"share_url":"http://m.neihanshequ.com/share/group/61085036745/?comment_id=1568599721138177","id":1568599721138177,"platform":"feifei","is_digg":0,"user_name":"皮皮妞ing","user_profile_image_url":"http://p1.pstatp.com/thumb/150c0003e68777e49586","status":5,"description":"","comment_id":1568599721138177,"user_digg":0,"user_profile_url":"","share_type":2,"digg_count":11946,"is_pro_user":false,"platform_id":"feifei","avatar_url":"http://p1.pstatp.com/thumb/150c0003e68777e49586","group_id":61085036745}],"type":1,"display_time":1.49887159093E9,"online_time":1.49887159093E9},{"group":{"user":{"user_id":6949428098,"name":"辽H猫66","followings":0,"user_verified":false,"ugc_count":12,"avatar_url":"http://p3.pstatp.com/medium/150c0005b530f5c22f66","followers":57,"is_following":false,"is_pro_user":false},"text":"","dislike_reason":[{"type":1,"id":312,"title":"对话"},{"type":2,"id":15,"title":"吧:脑残对话"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":6949428098,"title":"作者:辽H猫66"}],"create_time":1476431385,"id":51560423786,"favorite_count":2,"go_detail_count":1235,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":2,"share_url":"http://m.neihanshequ.com/share/group/51560423786/?iid=0&app=joke_essay","label":1,"content":"","comment_count":23,"id_str":"51560423786","media_type":1,"share_count":27,"type":3,"status":112,"has_comments":0,"large_image":{"width":720,"r_height":1138,"r_width":640,"url_list":[{"url":"http://p1.pstatp.com/large/ec800045356e1a7d64b"},{"url":"http://pb3.pstatp.com/large/ec800045356e1a7d64b"},{"url":"http://pb9.pstatp.com/large/ec800045356e1a7d64b"}],"uri":"large/ec800045356e1a7d64b","height":1280},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1476431385,"category_name":"脑残对话","category_visible":true,"bury_count":40,"is_anonymous":false,"repin_count":2,"min_screen_width_percent":0.167,"digg_count":470,"has_hot_comments":1,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":51560423786,"middle_image":{"width":202,"r_height":359,"r_width":202,"url_list":[{"url":"http://p1.pstatp.com/w202/ec800045356e1a7d64b"},{"url":"http://pb3.pstatp.com/w202/ec800045356e1a7d64b"},{"url":"http://pb9.pstatp.com/w202/ec800045356e1a7d64b"}],"uri":"w202/ec800045356e1a7d64b","height":359},"category_id":15},"comments":[],"type":1,"display_time":1.49887159092E9,"online_time":1.49887159092E9},{"group":{"user":{"user_id":3979571188,"name":"联合国灭猫灭狗小分队队长","followings":0,"user_verified":false,"ugc_count":12,"avatar_url":"http://p9.pstatp.com/medium/41100048ab31514f153","followers":46,"is_following":false,"is_pro_user":false},"text":"跟表哥一起抓蜥蜴吃 ,今天终于有肉吃了 ,开森","dislike_reason":[{"type":1,"id":351,"title":"吐槽"},{"type":2,"id":80,"title":"吧:来自世界的恶意"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":3979571188,"title":"作者:联合国灭猫灭狗小分队队长"}],"create_time":1487476069,"id":55987216685,"favorite_count":0,"go_detail_count":738,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/55987216685/?iid=0&app=joke_essay","label":1,"content":"跟表哥一起抓蜥蜴吃 ,今天终于有肉吃了 ,开森","comment_count":15,"id_str":"55987216685","media_type":1,"share_count":24,"type":3,"status":112,"has_comments":0,"large_image":{"width":639,"r_height":858,"r_width":639,"url_list":[{"url":"http://p1.pstatp.com/large/16e70002359085001cb1"},{"url":"http://pb3.pstatp.com/large/16e70002359085001cb1"},{"url":"http://pb9.pstatp.com/large/16e70002359085001cb1"}],"uri":"large/16e70002359085001cb1","height":858},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1487476069,"category_name":"来自世界的恶意","category_visible":true,"bury_count":9,"is_anonymous":false,"repin_count":0,"min_screen_width_percent":0.167,"digg_count":159,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":55987216685,"middle_image":{"width":202,"r_height":271,"r_width":202,"url_list":[{"url":"http://p1.pstatp.com/w202/16e70002359085001cb1"},{"url":"http://pb3.pstatp.com/w202/16e70002359085001cb1"},{"url":"http://pb9.pstatp.com/w202/16e70002359085001cb1"}],"uri":"w202/16e70002359085001cb1","height":271},"category_id":80},"comments":[],"type":1,"display_time":1.49887159091E9,"online_time":1.49887159091E9},{"group":{"user":{"user_id":59581005909,"name":"祖国的敏花朵","followings":0,"user_verified":false,"ugc_count":6,"avatar_url":"http://p3.pstatp.com/medium/1a6d001e300e0132559b","followers":19,"is_following":false,"is_pro_user":false},"text":"老司机求解。","dislike_reason":[{"type":1,"id":440,"title":"内涵"},{"type":2,"id":59,"title":"吧:突然觉得哪里不对"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":59581005909,"title":"作者:祖国的敏花朵"}],"create_time":1493480287,"id":59599864808,"favorite_count":67,"go_detail_count":449131,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/59599864808/?iid=0&app=joke_essay","label":1,"content":"老司机求解。","comment_count":1318,"id_str":"59599864808","media_type":1,"share_count":3275,"type":3,"status":112,"has_comments":0,"large_image":{"width":440,"r_height":716,"r_width":440,"url_list":[{"url":"http://p3.pstatp.com/large/1cd200043bcc5413a40f"},{"url":"http://pb9.pstatp.com/large/1cd200043bcc5413a40f"},{"url":"http://pb1.pstatp.com/large/1cd200043bcc5413a40f"}],"uri":"large/1cd200043bcc5413a40f","height":716},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1493480287,"category_name":"突然觉得哪里不对","category_visible":true,"bury_count":454,"is_anonymous":false,"repin_count":67,"min_screen_width_percent":0.167,"digg_count":4814,"has_hot_comments":0,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":59599864808,"middle_image":{"width":202,"r_height":328,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/1cd200043bcc5413a40f"},{"url":"http://pb9.pstatp.com/w202/1cd200043bcc5413a40f"},{"url":"http://pb1.pstatp.com/w202/1cd200043bcc5413a40f"}],"uri":"w202/1cd200043bcc5413a40f","height":328},"category_id":59},"comments":[],"type":1,"display_time":1.4988715909E9,"online_time":1.4988715909E9}] */ private boolean has_more; private String tip; private boolean has_new_message; private double max_time; private double min_time; private List<DataBean> data; @Override public String toString() { return "DataBeanX{" + "has_more=" + has_more + ", tip='" + tip + '\'' + ", has_new_message=" + has_new_message + ", max_time=" + max_time + ", min_time=" + min_time + ", data=" + data + '}'; } public boolean isHas_more() { return has_more; } public void setHas_more(boolean has_more) { this.has_more = has_more; } public String getTip() { return tip; } public void setTip(String tip) { this.tip = tip; } public boolean isHas_new_message() { return has_new_message; } public void setHas_new_message(boolean has_new_message) { this.has_new_message = has_new_message; } public double getMax_time() { return max_time; } public void setMax_time(double max_time) { this.max_time = max_time; } public double getMin_time() { return min_time; } public void setMin_time(int min_time) { this.min_time = min_time; } public List<DataBean> getData() { return data; } public void setData(List<DataBean> data) { this.data = data; } public static class DataBean { /** * group : {"user":{"user_id":3351523446,"name":"别看我就是一只羊","followings":0,"user_verified":false,"ugc_count":2185,"avatar_url":"http://tp3.sinaimg.cn/3049822714/50/5651374921/0","followers":9860,"is_following":false,"is_pro_user":false},"text":" ","dislike_reason":[{"type":2,"id":85,"title":"吧:日式吐槽"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":3351523446,"title":"作者:别看我就是一只羊"}],"create_time":1432209487,"id":4390743989,"favorite_count":3,"go_detail_count":636,"user_favorite":0,"share_type":1,"max_screen_width_percent":0.6,"is_can_share":1,"category_type":1,"share_url":"http://m.neihanshequ.com/share/group/4390743989/?iid=0&app=joke_essay","label":1,"content":" ","comment_count":7,"id_str":"4390743989","media_type":1,"share_count":9,"type":3,"status":112,"has_comments":0,"large_image":{"width":546,"r_height":525,"r_width":546,"url_list":[{"url":"http://p3.pstatp.com/large/3703/2240996626"},{"url":"http://pb9.pstatp.com/large/3703/2240996626"},{"url":"http://pb1.pstatp.com/large/3703/2240996626"}],"uri":"large/3703/2240996626","height":525},"user_bury":0,"status_desc":"热门投稿","display_type":0,"user_digg":0,"online_time":1432209487,"category_name":"日式吐槽","category_visible":true,"bury_count":163,"is_anonymous":false,"repin_count":3,"min_screen_width_percent":0.167,"digg_count":675,"has_hot_comments":1,"allow_dislike":true,"image_status":1,"user_repin":0,"activity":{},"group_id":4390743989,"middle_image":{"width":202,"r_height":194,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/3703/2240996626"},{"url":"http://pb9.pstatp.com/w202/3703/2240996626"},{"url":"http://pb1.pstatp.com/w202/3703/2240996626"}],"uri":"w202/3703/2240996626","height":194},"category_id":85} * comments : [] * type : 1 * display_time : 1498871591 * online_time : 1498871591 */ private GroupBean group; private int type; private double display_time; private double online_time; private List<?> comments; @Override public String toString() { return "DataBean{" + "group=" + group + ", type=" + type + ", display_time=" + display_time + ", online_time=" + online_time + ", comments=" + comments + '}'; } public GroupBean getGroup() { return group; } public void setGroup(GroupBean group) { this.group = group; } public int getType() { return type; } public void setType(int type) { this.type = type; } public double getDisplay_time() { return display_time; } public void setDisplay_time(int display_time) { this.display_time = display_time; } public double getOnline_time() { return online_time; } public void setOnline_time(int online_time) { this.online_time = online_time; } public List<?> getComments() { return comments; } public void setComments(List<?> comments) { this.comments = comments; } public static class GroupBean { /** * user : {"user_id":3351523446,"name":"别看我就是一只羊","followings":0,"user_verified":false,"ugc_count":2185,"avatar_url":"http://tp3.sinaimg.cn/3049822714/50/5651374921/0","followers":9860,"is_following":false,"is_pro_user":false} * text : * dislike_reason : [{"type":2,"id":85,"title":"吧:日式吐槽"},{"type":4,"id":0,"title":"内容重复"},{"type":3,"id":3351523446,"title":"作者:别看我就是一只羊"}] * create_time : 1432209487 * id : 4390743989 * favorite_count : 3 * go_detail_count : 636 * user_favorite : 0 * share_type : 1 * max_screen_width_percent : 0.6 * is_can_share : 1 * category_type : 1 * share_url : http://m.neihanshequ.com/share/group/4390743989/?iid=0&app=joke_essay * label : 1 * content : * comment_count : 7 * id_str : 4390743989 * media_type : 1 * share_count : 9 * type : 3 * status : 112 * has_comments : 0 * large_image : {"width":546,"r_height":525,"r_width":546,"url_list":[{"url":"http://p3.pstatp.com/large/3703/2240996626"},{"url":"http://pb9.pstatp.com/large/3703/2240996626"},{"url":"http://pb1.pstatp.com/large/3703/2240996626"}],"uri":"large/3703/2240996626","height":525} * user_bury : 0 * status_desc : 热门投稿 * display_type : 0 * user_digg : 0 * online_time : 1432209487 * category_name : 日式吐槽 * category_visible : true * bury_count : 163 * is_anonymous : false * repin_count : 3 * min_screen_width_percent : 0.167 * digg_count : 675 * has_hot_comments : 1 * allow_dislike : true * image_status : 1 * user_repin : 0 * activity : {} * group_id : 4390743989 * middle_image : {"width":202,"r_height":194,"r_width":202,"url_list":[{"url":"http://p3.pstatp.com/w202/3703/2240996626"},{"url":"http://pb9.pstatp.com/w202/3703/2240996626"},{"url":"http://pb1.pstatp.com/w202/3703/2240996626"}],"uri":"w202/3703/2240996626","height":194} * category_id : 85 */ private UserBean user; private String text; private double create_time; private long id; private int favorite_count; private int go_detail_count; private int user_favorite; private int share_type; private double max_screen_width_percent; private int is_can_share; private int category_type; private String share_url; private int label; private String content; private int comment_count; private String id_str; private int media_type; private int share_count; private int type; private int status; private int has_comments; private LargeImageBean large_image; private int user_bury; private String status_desc; private int display_type; private int user_digg; private int online_time; private String category_name; private boolean category_visible; private int bury_count; private boolean is_anonymous; private int repin_count; private double min_screen_width_percent; private int digg_count; private int has_hot_comments; private boolean allow_dislike; private int image_status; private int user_repin; private ActivityBean activity; private long group_id; private MiddleImageBean middle_image; private int category_id; private List<DislikeReasonBean> dislike_reason; @Override public String toString() { return "GroupBean{" + "user=" + user + ", text='" + text + '\'' + ", create_time=" + create_time + ", id=" + id + ", favorite_count=" + favorite_count + ", go_detail_count=" + go_detail_count + ", user_favorite=" + user_favorite + ", share_type=" + share_type + ", max_screen_width_percent=" + max_screen_width_percent + ", is_can_share=" + is_can_share + ", category_type=" + category_type + ", share_url='" + share_url + '\'' + ", label=" + label + ", content='" + content + '\'' + ", comment_count=" + comment_count + ", id_str='" + id_str + '\'' + ", media_type=" + media_type + ", share_count=" + share_count + ", type=" + type + ", status=" + status + ", has_comments=" + has_comments + ", large_image=" + large_image + ", user_bury=" + user_bury + ", status_desc='" + status_desc + '\'' + ", display_type=" + display_type + ", user_digg=" + user_digg + ", online_time=" + online_time + ", category_name='" + category_name + '\'' + ", category_visible=" + category_visible + ", bury_count=" + bury_count + ", is_anonymous=" + is_anonymous + ", repin_count=" + repin_count + ", min_screen_width_percent=" + min_screen_width_percent + ", digg_count=" + digg_count + ", has_hot_comments=" + has_hot_comments + ", allow_dislike=" + allow_dislike + ", image_status=" + image_status + ", user_repin=" + user_repin + ", activity=" + activity + ", group_id=" + group_id + ", middle_image=" + middle_image + ", category_id=" + category_id + ", dislike_reason=" + dislike_reason + '}'; } public UserBean getUser() { return user; } public void setUser(UserBean user) { this.user = user; } public String getText() { return text; } public void setText(String text) { this.text = text; } public double getCreate_time() { return create_time; } public void setCreate_time(int create_time) { this.create_time = create_time; } public long getId() { return id; } public void setId(long id) { this.id = id; } public int getFavorite_count() { return favorite_count; } public void setFavorite_count(int favorite_count) { this.favorite_count = favorite_count; } public int getGo_detail_count() { return go_detail_count; } public void setGo_detail_count(int go_detail_count) { this.go_detail_count = go_detail_count; } public int getUser_favorite() { return user_favorite; } public void setUser_favorite(int user_favorite) { this.user_favorite = user_favorite; } public int getShare_type() { return share_type; } public void setShare_type(int share_type) { this.share_type = share_type; } public double getMax_screen_width_percent() { return max_screen_width_percent; } public void setMax_screen_width_percent(double max_screen_width_percent) { this.max_screen_width_percent = max_screen_width_percent; } public int getIs_can_share() { return is_can_share; } public void setIs_can_share(int is_can_share) { this.is_can_share = is_can_share; } public int getCategory_type() { return category_type; } public void setCategory_type(int category_type) { this.category_type = category_type; } public String getShare_url() { return share_url; } public void setShare_url(String share_url) { this.share_url = share_url; } public int getLabel() { return label; } public void setLabel(int label) { this.label = label; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public int getComment_count() { return comment_count; } public void setComment_count(int comment_count) { this.comment_count = comment_count; } public String getId_str() { return id_str; } public void setId_str(String id_str) { this.id_str = id_str; } public int getMedia_type() { return media_type; } public void setMedia_type(int media_type) { this.media_type = media_type; } public int getShare_count() { return share_count; } public void setShare_count(int share_count) { this.share_count = share_count; } public int getType() { return type; } public void setType(int type) { this.type = type; } public int getStatus() { return status; } public void setStatus(int status) { this.status = status; } public int getHas_comments() { return has_comments; } public void setHas_comments(int has_comments) { this.has_comments = has_comments; } public LargeImageBean getLarge_image() { return large_image; } public void setLarge_image(LargeImageBean large_image) { this.large_image = large_image; } public int getUser_bury() { return user_bury; } public void setUser_bury(int user_bury) { this.user_bury = user_bury; } public String getStatus_desc() { return status_desc; } public void setStatus_desc(String status_desc) { this.status_desc = status_desc; } public int getDisplay_type() { return display_type; } public void setDisplay_type(int display_type) { this.display_type = display_type; } public int getUser_digg() { return user_digg; } public void setUser_digg(int user_digg) { this.user_digg = user_digg; } public int getOnline_time() { return online_time; } public void setOnline_time(int online_time) { this.online_time = online_time; } public String getCategory_name() { return category_name; } public void setCategory_name(String category_name) { this.category_name = category_name; } public boolean isCategory_visible() { return category_visible; } public void setCategory_visible(boolean category_visible) { this.category_visible = category_visible; } public int getBury_count() { return bury_count; } public void setBury_count(int bury_count) { this.bury_count = bury_count; } public boolean isIs_anonymous() { return is_anonymous; } public void setIs_anonymous(boolean is_anonymous) { this.is_anonymous = is_anonymous; } public int getRepin_count() { return repin_count; } public void setRepin_count(int repin_count) { this.repin_count = repin_count; } public double getMin_screen_width_percent() { return min_screen_width_percent; } public void setMin_screen_width_percent(double min_screen_width_percent) { this.min_screen_width_percent = min_screen_width_percent; } public int getDigg_count() { return digg_count; } public void setDigg_count(int digg_count) { this.digg_count = digg_count; } public int getHas_hot_comments() { return has_hot_comments; } public void setHas_hot_comments(int has_hot_comments) { this.has_hot_comments = has_hot_comments; } public boolean isAllow_dislike() { return allow_dislike; } public void setAllow_dislike(boolean allow_dislike) { this.allow_dislike = allow_dislike; } public int getImage_status() { return image_status; } public void setImage_status(int image_status) { this.image_status = image_status; } public int getUser_repin() { return user_repin; } public void setUser_repin(int user_repin) { this.user_repin = user_repin; } public ActivityBean getActivity() { return activity; } public void setActivity(ActivityBean activity) { this.activity = activity; } public long getGroup_id() { return group_id; } public void setGroup_id(long group_id) { this.group_id = group_id; } public MiddleImageBean getMiddle_image() { return middle_image; } public void setMiddle_image(MiddleImageBean middle_image) { this.middle_image = middle_image; } public int getCategory_id() { return category_id; } public void setCategory_id(int category_id) { this.category_id = category_id; } public List<DislikeReasonBean> getDislike_reason() { return dislike_reason; } public void setDislike_reason(List<DislikeReasonBean> dislike_reason) { this.dislike_reason = dislike_reason; } public static class UserBean { /** * user_id : 3351523446 * name : 别看我就是一只羊 * followings : 0 * user_verified : false * ugc_count : 2185 * avatar_url : http://tp3.sinaimg.cn/3049822714/50/5651374921/0 * followers : 9860 * is_following : false * is_pro_user : false */ private long user_id; private String name; private int followings; private boolean user_verified; private int ugc_count; private String avatar_url; private int followers; private boolean is_following; private boolean is_pro_user; @Override public String toString() { return "UserBean{" + "user_id=" + user_id + ", name='" + name + '\'' + ", followings=" + followings + ", user_verified=" + user_verified + ", ugc_count=" + ugc_count + ", avatar_url='" + avatar_url + '\'' + ", followers=" + followers + ", is_following=" + is_following + ", is_pro_user=" + is_pro_user + '}'; } public long getUser_id() { return user_id; } public void setUser_id(long user_id) { this.user_id = user_id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getFollowings() { return followings; } public void setFollowings(int followings) { this.followings = followings; } public boolean isUser_verified() { return user_verified; } public void setUser_verified(boolean user_verified) { this.user_verified = user_verified; } public int getUgc_count() { return ugc_count; } public void setUgc_count(int ugc_count) { this.ugc_count = ugc_count; } public String getAvatar_url() { return avatar_url; } public void setAvatar_url(String avatar_url) { this.avatar_url = avatar_url; } public int getFollowers() { return followers; } public void setFollowers(int followers) { this.followers = followers; } public boolean isIs_following() { return is_following; } public void setIs_following(boolean is_following) { this.is_following = is_following; } public boolean isIs_pro_user() { return is_pro_user; } public void setIs_pro_user(boolean is_pro_user) { this.is_pro_user = is_pro_user; } } public static class LargeImageBean { public static class UrlListBean { } } public static class ActivityBean { } public static class MiddleImageBean { /** * width : 202 * r_height : 194 * r_width : 202 * url_list : [{"url":"http://p3.pstatp.com/w202/3703/2240996626"},{"url":"http://pb9.pstatp.com/w202/3703/2240996626"},{"url":"http://pb1.pstatp.com/w202/3703/2240996626"}] * uri : w202/3703/2240996626 * height : 194 */ private int width; private int r_height; private int r_width; private String uri; private int height; private List<UrlListBeanX> url_list; @Override public String toString() { return "MiddleImageBean{" + "width=" + width + ", r_height=" + r_height + ", r_width=" + r_width + ", uri='" + uri + '\'' + ", height=" + height + ", url_list=" + url_list + '}'; } public int getWidth() { return width; } public void setWidth(int width) { this.width = width; } public int getR_height() { return r_height; } public void setR_height(int r_height) { this.r_height = r_height; } public int getR_width() { return r_width; } public void setR_width(int r_width) { this.r_width = r_width; } public String getUri() { return uri; } public void setUri(String uri) { this.uri = uri; } public int getHeight() { return height; } public void setHeight(int height) { this.height = height; } public List<UrlListBeanX> getUrl_list() { return url_list; } public void setUrl_list(List<UrlListBeanX> url_list) { this.url_list = url_list; } public static class UrlListBeanX { /** * url : http://p3.pstatp.com/w202/3703/2240996626 */ private String url; @Override public String toString() { return "UrlListBeanX{" + "url='" + url + '\'' + '}'; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } } } public static class DislikeReasonBean { /** * type : 2 * id : 85 * title : 吧:日式吐槽 */ private int type; private long id; private String title; @Override public String toString() { return "DislikeReasonBean{" + "type=" + type + ", id=" + id + ", title='" + title + '\'' + '}'; } public int getType() { return type; } public void setType(int type) { this.type = type; } public long getId() { return id; } public void setId(int id) { this.id = id; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } } } } } }
TitleBean 类 TabLayout的数据需要导入包public class TitleBean { /** * message : success * data : [{"double_col_mode":false,"umeng_event":"moment","is_default_tab":false,"url":"http://lf.snssdk.com/neihan/dongtai/dongtai_list/v1/","list_id":-10001,"refresh_interval":7200,"type":3,"name":"关注"},{"double_col_mode":false,"umeng_event":"recommend","is_default_tab":true,"url":"http://lf.snssdk.com/neihan/stream/mix/v1/?content_type=-101","list_id":-101,"refresh_interval":7200,"type":1,"name":"推荐"},{"double_col_mode":false,"umeng_event":"video","is_default_tab":false,"url":"http://lf.snssdk.com/neihan/stream/mix/v1/?content_type=-104","list_id":-104,"refresh_interval":7200,"type":1,"name":"视频"},{"double_col_mode":true,"umeng_event":"personal_show","is_default_tab":false,"url":"http://lf.snssdk.com/neihan/stream/mix/v1/?content_type=-301","list_id":-301,"refresh_interval":7200,"type":1,"name":"段友秀"},{"double_col_mode":false,"umeng_event":"live","is_default_tab":false,"url":"https://hotsoon.snssdk.com/hotsoon/feed/","list_id":-10002,"refresh_interval":7200,"type":6,"name":"直播"},{"double_col_mode":false,"umeng_event":"pic","is_default_tab":false,"url":"http://lf.snssdk.com/neihan/stream/mix/v1/?content_type=-103","list_id":-103,"refresh_interval":7200,"type":1,"name":"图片"},{"double_col_mode":false,"umeng_event":"essay","is_default_tab":false,"url":"http://lf.snssdk.com/neihan/stream/mix/v1/?content_type=-102","list_id":-102,"refresh_interval":7200,"type":1,"name":"段子"},{"double_col_mode":false,"umeng_event":"essence","is_default_tab":false,"url":"http://ic.snssdk.com/neihan/in_app/essence_list/","list_id":-20002,"refresh_interval":7200,"type":4,"name":"精华"},{"double_col_mode":false,"umeng_event":"local","is_default_tab":false,"url":"http://lf.snssdk.com/neihan/stream/mix/v1/?content_type=-201","list_id":-201,"refresh_interval":7200,"type":5,"name":"同城"},{"double_col_mode":false,"umeng_event":"game","is_default_tab":false,"url":"http://ic.snssdk.com/game/game_hall?app_source=essay_android","list_id":-20003,"refresh_interval":7200,"type":4,"name":"游戏"}] */ private String message; private List<DataBean> data; public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public List<DataBean> getData() { return data; } public void setData(List<DataBean> data) { this.data = data; } public static class DataBean { /** * double_col_mode : false * umeng_event : moment * is_default_tab : false * url : http://lf.snssdk.com/neihan/dongtai/dongtai_list/v1/ * list_id : -10001 * refresh_interval : 7200 * type : 3 * name : 关注 */ private boolean double_col_mode; private String umeng_event; private boolean is_default_tab; private String url; private int list_id; private int refresh_interval; private int type; private String name; public boolean isDouble_col_mode() { return double_col_mode; } public void setDouble_col_mode(boolean double_col_mode) { this.double_col_mode = double_col_mode; } public String getUmeng_event() { return umeng_event; } public void setUmeng_event(String umeng_event) { this.umeng_event = umeng_event; } public boolean isIs_default_tab() { return is_default_tab; } public void setIs_default_tab(boolean is_default_tab) { this.is_default_tab = is_default_tab; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public int getList_id() { return list_id; } public void setList_id(int list_id) { this.list_id = list_id; } public int getRefresh_interval() { return refresh_interval; } public void setRefresh_interval(int refresh_interval) { this.refresh_interval = refresh_interval; } public int getType() { return type; } public void setType(int type) { this.type = type; } public String getName() { return name; } public void setName(String name) { this.name = name; } } }
compile 'com.android.support:design:26.0.0-alpha1' compile 'org.xutils:xutils:3.5.0' compile 'com.google.code.gson:gson:2.8.1' compile 'com.youth.banner:banner:1.4.9' compile 'com.github.bumptech.glide:glide:3.8.0' compile 'com.github.chrisbanes.photoview:library:1.2.4' compile project(':xlsitview')
需要导入的权限
<uses-permission android:name="android.permission.INTERNET"></uses-permission> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></uses-permission>
android:name=".MyApplication"还有点击需要跳转的权限