| | |
| | | import com.umeng.analytics.MobclickAgent; |
| | | import com.weikou.beibeivideo.BasicTextHttpResponseHandler; |
| | | import com.weikou.beibeivideo.BeibeiVideoAPI; |
| | | import com.weikou.beibeivideo.ui.MyRetainViewFragment; |
| | | import com.weikou.beibeivideo.ui.category.bean.UniqueBean; |
| | | import com.weikou.beibeivideo.ui.recommend.DiscoverAdapter; |
| | | import com.weikou.beibeivideo.util.BeibeiConstant; |
| | | import com.yeshi.buwanshequ.R; |
| | | import com.weikou.beibeivideo.R; |
| | | |
| | | import org.apache.http.Header; |
| | | import org.json.JSONObject; |
| | |
| | | /** |
| | | * 专题碎片 |
| | | */ |
| | | public class DiscoverNowFragment extends RetainViewFragment { |
| | | public class DiscoverNowFragment extends MyRetainViewFragment { |
| | | private List<UniqueBean> uniques = new ArrayList<UniqueBean>(); |
| | | private int mCurrentPage = 1; |
| | | private ListView uniqueView; |
| | | private RefreshLayout rl_unique; |
| | | private DiscoverAdapter uniqueAdapter; |
| | | |
| | | |
| | | public DiscoverNowFragment() { |
| | | super(DiscoverNowFragment.class.getName()); |
| | | } |
| | | |
| | | @Override |
| | | public int getContentResource() { |
| | | return R.layout.category_unique; |