|
1
|
package com.xgimi.gimicinema.activity;
|
1
|
package com.xgimi.gimicinema.activity;
|
|
2
|
|
2
|
|
|
3
|
-import android.animation.AnimatorSet;
|
|
|
|
4
|
-import android.animation.ObjectAnimator;
|
|
|
|
5
|
import android.app.Activity;
|
3
|
import android.app.Activity;
|
|
6
|
import android.app.ProgressDialog;
|
4
|
import android.app.ProgressDialog;
|
|
7
|
import android.content.Context;
|
5
|
import android.content.Context;
|
|
@@ -21,7 +19,6 @@ import android.view.View; |
|
@@ -21,7 +19,6 @@ import android.view.View; |
|
21
|
import android.view.ViewGroup;
|
19
|
import android.view.ViewGroup;
|
|
22
|
import android.view.ViewTreeObserver;
|
20
|
import android.view.ViewTreeObserver;
|
|
23
|
import android.view.Window;
|
21
|
import android.view.Window;
|
|
24
|
-import android.view.animation.AccelerateInterpolator;
|
|
|
|
25
|
import android.widget.AdapterView;
|
22
|
import android.widget.AdapterView;
|
|
26
|
import android.widget.BaseAdapter;
|
23
|
import android.widget.BaseAdapter;
|
|
27
|
import android.widget.Button;
|
24
|
import android.widget.Button;
|
|
@@ -33,7 +30,6 @@ import android.widget.RatingBar; |
|
@@ -33,7 +30,6 @@ import android.widget.RatingBar; |
|
33
|
import android.widget.RelativeLayout;
|
30
|
import android.widget.RelativeLayout;
|
|
34
|
import android.widget.TextView;
|
31
|
import android.widget.TextView;
|
|
35
|
import android.widget.Toast;
|
32
|
import android.widget.Toast;
|
|
36
|
-
|
|
|
|
37
|
import com.gimi.common.cinema.model.LocalMovieMessage;
|
33
|
import com.gimi.common.cinema.model.LocalMovieMessage;
|
|
38
|
import com.gimi.common.cinema.model.MovieCast;
|
34
|
import com.gimi.common.cinema.model.MovieCast;
|
|
39
|
import com.gimi.common.cinema.model.MovieMessage;
|
35
|
import com.gimi.common.cinema.model.MovieMessage;
|
|
@@ -50,10 +46,6 @@ import com.xgimi.gimicinema.presenter.MovieDetailPresenter; |
|
@@ -50,10 +46,6 @@ import com.xgimi.gimicinema.presenter.MovieDetailPresenter; |
|
50
|
import com.xgimi.gimicinema.view.FocusBorderView;
|
46
|
import com.xgimi.gimicinema.view.FocusBorderView;
|
|
51
|
import com.xgimi.gimicinema.view.MovieItem;
|
47
|
import com.xgimi.gimicinema.view.MovieItem;
|
|
52
|
|
48
|
|
|
53
|
-import immortalz.me.library.TransitionsHelper;
|
|
|
|
54
|
-import immortalz.me.library.bean.InfoBean;
|
|
|
|
55
|
-import immortalz.me.library.method.ColorShowMethod;
|
|
|
|
56
|
-
|
|
|
|
57
|
import java.util.ArrayList;
|
49
|
import java.util.ArrayList;
|
|
58
|
import java.util.HashMap;
|
50
|
import java.util.HashMap;
|
|
59
|
import java.util.List;
|
51
|
import java.util.List;
|
|
@@ -378,26 +370,26 @@ public class MovieDetailMsgActivity extends BaseActivity |
|
@@ -378,26 +370,26 @@ public class MovieDetailMsgActivity extends BaseActivity |
|
378
|
|
370
|
|
|
379
|
backgroundIv = (ImageView) findViewById(R.id.background_iv);
|
371
|
backgroundIv = (ImageView) findViewById(R.id.background_iv);
|
|
380
|
|
372
|
|
|
381
|
- TransitionsHelper.getInstance()
|
|
|
|
382
|
- .setShowMethod(new ColorShowMethod(R.color.green_p, R.color.bg_teal) {
|
|
|
|
383
|
- @Override
|
|
|
|
384
|
- public void loadCopyView(InfoBean bean, ImageView copyView) {
|
|
|
|
385
|
- AnimatorSet set = new AnimatorSet();
|
|
|
|
386
|
- set.playTogether(
|
|
|
|
387
|
-// ObjectAnimator.ofFloat(copyView, "rotation", 0, 180),
|
|
|
|
388
|
- ObjectAnimator.ofFloat(copyView, "scaleX", 1, 0),
|
|
|
|
389
|
- ObjectAnimator.ofFloat(copyView, "scaleY", 1, 0)
|
|
|
|
390
|
- );
|
|
|
|
391
|
- set.setInterpolator(new AccelerateInterpolator());
|
|
|
|
392
|
- set.setDuration(duration / 4 * 5).start();
|
|
|
|
393
|
- }
|
|
|
|
394
|
-
|
|
|
|
395
|
- @Override
|
|
|
|
396
|
- public void loadTargetView(InfoBean bean, ImageView targetView) {
|
|
|
|
397
|
-
|
|
|
|
398
|
- }
|
|
|
|
399
|
- })
|
|
|
|
400
|
- .show(this, null);
|
373
|
+// TransitionsHelper.getInstance()
|
|
|
|
374
|
+// .setShowMethod(new ColorShowMethod(R.color.green_p, R.color.bg_teal) {
|
|
|
|
375
|
+// @Override
|
|
|
|
376
|
+// public void loadCopyView(InfoBean bean, ImageView copyView) {
|
|
|
|
377
|
+// AnimatorSet set = new AnimatorSet();
|
|
|
|
378
|
+// set.playTogether(
|
|
|
|
379
|
+//// ObjectAnimator.ofFloat(copyView, "rotation", 0, 180),
|
|
|
|
380
|
+// ObjectAnimator.ofFloat(copyView, "scaleX", 1, 0),
|
|
|
|
381
|
+// ObjectAnimator.ofFloat(copyView, "scaleY", 1, 0)
|
|
|
|
382
|
+// );
|
|
|
|
383
|
+// set.setInterpolator(new AccelerateInterpolator());
|
|
|
|
384
|
+// set.setDuration(duration / 4 * 5).start();
|
|
|
|
385
|
+// }
|
|
|
|
386
|
+//
|
|
|
|
387
|
+// @Override
|
|
|
|
388
|
+// public void loadTargetView(InfoBean bean, ImageView targetView) {
|
|
|
|
389
|
+//
|
|
|
|
390
|
+// }
|
|
|
|
391
|
+// })
|
|
|
|
392
|
+// .show(this, null);
|
|
401
|
|
393
|
|
|
402
|
|
394
|
|
|
403
|
mSpinner = new ProgressDialog(context);
|
395
|
mSpinner = new ProgressDialog(context);
|