| | |
| | | } |
| | | |
| | | public static void getVideoDetail(Context context, String uid, |
| | | String ResourceId, String videoId, String loginid, String type, |
| | | String ResourceId, String videoId, Integer position, String loginid, String type, |
| | | ResponseHandlerInterface handler) { |
| | | LinkedHashMap<String, String> params = new LinkedHashMap<String, String>(); |
| | | params.put("Method", "getVideoDetail"); |
| | | params.put("Uid", uid); |
| | | params.put("LoginUid", loginid); |
| | | params.put("VideoId", videoId); |
| | | if (position != null) { |
| | | params.put("Position", position+""); |
| | | } |
| | | params.put("ResourceId", ResourceId); |
| | | params.put("Type", type); |
| | | commonPost(context, BASE_URL + "recommend", params, handler); |