Ejemplo n.º 1
0
 private void actFinish() {
   if (needFinish) {
     if (activity instanceof LoadingActivity) {
       ((LoadingActivity) activity).finish();
     } else if (activity instanceof ZSQNewsActivity) {
       ((ZSQNewsActivity) activity).finish();
     } else if (activity instanceof ZSQMoviePlayerActivity) {
       ((ZSQMoviePlayerActivity) activity).finish();
     } else if (activity instanceof ZSQMovieActivity) {
       ((ZSQMovieActivity) activity).finish();
     } else if (activity instanceof SeatSelectedAct) {
       ((SeatSelectedAct) activity).finish();
     }
   }
 }