| | |
| | | import com.weikou.beibeivideo.util.AppMarket; |
| | | import com.weikou.beibeivideo.util.CustomShareDialog; |
| | | import com.weikou.beibeivideo.util.downutil.DownFiles; |
| | | import com.yeshi.buwanshequ.R; |
| | | import com.weikou.beibeivideo.R; |
| | | |
| | | import org.json.JSONObject; |
| | | |
| | |
| | | }); |
| | | // imageLoader.displayImage(mHomeAds.get(position).getPicture(), view, options); |
| | | Glide.with(mContext).load(mHomeAds.get(position).getPicture()).placeholder(R.drawable.ic_default_cover).error(R.drawable.ic_default_cover) |
| | | .crossFade().into(view); |
| | | .into(view); |
| | | container.addView(view); |
| | | return view; |
| | | } |
| | |
| | | mChannel.setVibrationPattern(new long[]{100, 200, 300, 400, 500, 400, 300, 200, 400}); |
| | | manager.createNotificationChannel(mChannel); |
| | | oBuilder = new Notification.Builder(mContext, id); |
| | | oBuilder.setContentTitle("布丸影视大全") |
| | | oBuilder.setContentTitle("影视大全") |
| | | .setSmallIcon(R.drawable.ic_launcher) |
| | | .setLargeIcon(BitmapFactory.decodeResource(mContext.getResources(), R.drawable.ic_launcher)) |
| | | .setContentText("热门应用下载") |
| | |
| | | .build(); |
| | | } else { |
| | | builder = new NotificationCompat.Builder(mContext); |
| | | builder.setContentTitle("布丸影视大全") |
| | | builder.setContentTitle("影视大全") |
| | | .setContentText("热门应用下载") |
| | | .setSmallIcon(R.drawable.ic_launcher) |
| | | .setOngoing(true);//无效 |