| | |
| | | import com.weikou.beibeivideo.ui.video.VideoCloumn1Adapter; |
| | | import com.weikou.beibeivideo.ui.video.VideoColumn2Adapter; |
| | | import com.weikou.beibeivideo.util.DimenUtils; |
| | | import com.weikou.beibeivideo.util.UserUtil; |
| | | import com.weikou.beibeivideo.util.ui.DividerItemDecoration; |
| | | import com.weikou.beibeivideo.R; |
| | | |
| | |
| | | mStarId = (mStarId == null ? "" : mStarId); |
| | | |
| | | |
| | | |
| | | mVideoInfos = new ArrayList<>(); |
| | | int columns = 2; |
| | | if (type != null && type.getCategoryType() != null && type.getCategoryType().contains("area")) { |
| | |
| | | } |
| | | |
| | | private void getVideoList() { |
| | | SharedPreferences preferences = rv_category_video.getContext().getSharedPreferences( |
| | | "user", Context.MODE_PRIVATE); |
| | | String uid = preferences.getString("uid", ""); |
| | | String uid = UserUtil.getUid(rv_category_video.getContext()); |
| | | if (type == null) |
| | | return; |
| | | BeibeiVideoAPI.getVideoList(rv_category_video.getContext(), uid, mStarId, mHomeType, |
| | | type.getId(), String.valueOf(mCurrentPage), category_two + "", type.getCategoryType(), |
| | | new BasicTextHttpResponseHandler() { |