From d2f28af81d4fb4878d42716ee7a669c7289316fb Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 28 一月 2022 12:54:57 +0800 Subject: [PATCH] 2.0.8 --- app/src/com/hanju/video/app/util/video/DPEventCollectUtil.java | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/src/com/hanju/video/app/util/video/DPEventCollectUtil.java b/app/src/com/hanju/video/app/util/video/DPEventCollectUtil.java index abdbaea..f1d7b37 100644 --- a/app/src/com/hanju/video/app/util/video/DPEventCollectUtil.java +++ b/app/src/com/hanju/video/app/util/video/DPEventCollectUtil.java @@ -23,8 +23,8 @@ * @param context * @param from */ - public static void playDrawVideo(Context context, Map<String, Object> map, String from,boolean complete) { - HttpApiUtil.playDrawVideo(context, from,complete, new BasicTextHttpResponseHandler() { + public static void playDrawVideo(Context context, Map<String, Object> map, String from, boolean complete) { + HttpApiUtil.playDrawVideo(context, from, complete, new BasicTextHttpResponseHandler() { @Override public void onSuccessPerfect(int statusCode, Header[] headers, JSONObject jsonObject) throws Exception { @@ -42,7 +42,12 @@ long time = NovelSDK.INSTANCE.getNovelReadingDuration(); if (time <= 0) return; - HttpApiUtil.readNovel(context, time); + HttpApiUtil.readNovel(context, time, new BasicTextHttpResponseHandler() { + @Override + public void onSuccessPerfect(int statusCode, Header[] headers, JSONObject jsonObject) throws Exception { + + } + }); } -- Gitblit v1.8.0