登录
首页 » Android » 带你走向rxjava_retrofit3.0_okhttp的世界

带你走向rxjava_retrofit3.0_okhttp的世界

于 2022-03-22 发布 文件大小:36.00 MB
0 112
下载积分: 2 下载次数: 1

代码说明:

重所周知 当下最流行的网络请求的框架非rxjava+retrofit+okhttp3三合一了 但是在网络上总是找不到一个比较全面的介绍 于是乎我自己研究了一套网络请求的发开框架 目前已经写入我开发的项目当中 目前还在学习的小伙伴们可以学习一下

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 倍福入门到精通(TwinCAT)
    Beckhoff-TwinCAT-软PLC-快速入门.pdf
    2019-08-26下载
    积分:1
  • Media_Setting
    基于全志A10 android4.0平台,开发的GPIO控制程序,通过UI界面选择不同状态下GPIO口输出不同的电平状态,来实现由高低电平来控制外部设备;本例程主要实现5个IO口控制Audio和vedio的不同格式输出(Based on Allwinner A10 android4.0 platform, the development of the GPIO control procedures, through the UI interface to select a different state, a different GPIO port output level state, to achieve the high and low to control external devices This course mainly to achieve five IO port control Audio and vedio output different formats)
    2013-10-08 21:33:56下载
    积分:1
  • 自己积累的
    自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的
    2022-01-26 00:49:53下载
    积分:1
  • 网络获取图片(缓存)
    package com.hsx.imageloader.adapter;import android.content.Context;import android.view.LayoutInflater;import android.view.View;import android.view.ViewGroup;import android.widget.BaseAdapter;import android.widget.ImageView;import android.widget.TextView;import com.hsx.imageloader.listener.AnimateFirstDisplayListener;import com.nostra13.universalimageloader.core.DisplayImageOptions;import com.nostra13.universalimageloader.core.ImageLoader;import com.nostra13.universalimageloader.core.assist.ImageLoadingListener;import com.nostra13.universalimageloader.core.display.RoundedBitmapDisplayer;import com.hsx.imageloader.R;public class ItemAdapter extends BaseAdapter {DisplayImageOptions options;private ImageLoadingListener animateFirstListener = new AnimateFirstDisplayListener();String[] imageUrls;Context context;public ItemAdapter(String[] imageUrls, Context context) {super();this.imageUrls = imageUrls;this.context = context;options = new DisplayImageOptions.Builder().showStubImage(R.drawable.ic_launcher)//设置图片在下载期间显示的图片.showImageForEmptyUri(R.drawable.ic_launcher)//设置图片Uri为空或是错误的时候显示的图片.showImageOnFail(R.drawable.ic_launcher)//设置图片加载/解码过程中错误时候显示的图片.cacheInMemory(true)//是否緩存都內存中.cacheOnDisc(true)//是否緩存到sd卡上.displayer(new RoundedBitmapDisplayer(20)).build();}private class ViewHolder {public TextView text;public ImageView image;}@Overridepublic int getCount() {return imageUrls.length;}@Overridepublic Object getItem(int position) {return position;}@Overridepublic long getItemId(int position) {return position;}@Overridepublic View getView(final int position, View convertView, ViewGroup parent) {final ViewHolder holder;if (convertView == null) {LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);convertView = inflater.inflate(R.layout.item_list_image, parent, false);holder = new ViewHolder();holder.text = (TextView) convertView.findViewById(R.id.text);holder.image = (ImageView) convertView.findViewById(R.id.image);convertView.setTag(holder);} else {holder = (ViewHolder) convertView.getTag();}holder.text.setText("Item " (position 1));// ImageLoaderImageLoader imageLoader = ImageLoader.getInstance();imageLoader.displayImage(imageUrls[position], holder.image, options, animateFirstListener);return convertView;}}
    2015-03-05下载
    积分:1
  • 安卓音乐播放器
    在学习安卓的过程中,需要进行练习,这个简单的音乐播放器能够实现简单的音乐播放,通过编写代码,练习安卓的相关知识,包括service、Contentprovider,activity等重要知识。
    2023-03-16 10:40:04下载
    积分:1
  • umeng 社会化组件实例源码下载(各种社会化分享,qq/微信/新浪微博等等)
    umeng 各种社会化分享实例,使用非常方便
    2014-05-23下载
    积分:1
  • 导入AndroidStudio后已经可以顺利运行的BmobDemo
    Bmob原Demo无法直接在有Gradle的AS上顺利运行,经过重新配置与更改依赖已经顺利解决运行问题。导入可直接运行。 Ps:源代码地址:即时聊天案例源码:https://github.com/bmob/BmobIMSDK4Android
    2022-01-26 07:06:56下载
    积分:1
  • KUNUJF
    OFDM及其基带FFT实现原理以及OFDM的载波和符号同步问题()
    2018-02-01 06:56:49下载
    积分:1
  • android api 手册(chm)
    android api 手册(chm)
    2015-01-09下载
    积分:1
  • android wifi信息扫描和rssi值检测 实例源码下载
    android wifi信息扫描和rssi值检测 实例源码下载
    2014-08-26下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载