• Stars
    star
    153
  • Rank 243,368 (Top 5 %)
  • Language
    Java
  • Created about 7 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Custom interface picture loading module, which supports Glide and so on.(自定义接口的图片加载工具module,支持 Glide等)

ImageLoader

Custom interface picture loading module, which supports Glide and so on(自定义接口的图片加载工具module,支持 Glide等)

效果图:
Alt text

使用,详见demo:
1、在项目中的build.gradle中增加 compile project(path: ':imageloader')
2、初始化: ImageLoader mImageLoader = new ImageLoader.Builder().placeHolder(0).disableCache(true).build();
3、加载图片:
//直角的图片展示
ImageLoaderUtils.getInstance().loadImage(this, mImageLoader, mImageView, mImageUrl, 0);
//圆角的图片展示,半径200
ImageLoaderUtils.getInstance().loadImage(this, mImageLoader, mRoundImageView, mImageUrl, 200);

最全的调用:
/**

  • 带有请求参数列表和成功后回调的加载图片
  • @param activity 对应的Activity实例
  • @param imgloader
  • @param imageView 加载的图片
  • @param imgUrl 图片的url
  • @param radius 圆角的弧度
  • @param map 发送请求时需要的头部参数列表
  • @param callback 请求成功后的回调接口
    */
    ImageLoaderUtils.getInstance() loadImage(Activity activity, ImageLoader imgloader, final ImageView imageView, final String imgUrl, int radius, final Map<String, String> map, final Callback callback)

More Repositories

1

ServiceKeep

Android Service keep-alive module.(Android Service保活模块:5.0以下使用c来fork进程,5.0以上使用JobScheduler来保活进程)
Java
413
star
2

ProcessKeep

Two Services are keeping each other alive. You can use this project. (使用双进程守护来实现2个Service的保活,2个进程相互监听。通过AIDL实现。)
Java
282
star
3

apikeylib

Generating sign when access the Internet. (访问网络时签名的生成)
C++
200
star
4

year_month_wheel_dialog

Year Month Wheel Dialog is a view to choose year and month by double roller dialog.(能够选择年月的双滚轮dialog)
Java
191
star
5

AndroidNet

Java & Android Network Module(JAVA网络、Android网络操作:包括网络请求、WebView相关、常用第三方框架OkHttp&Volley)
Java
174
star
6

drag_click_view

Two GridViews which support clicking and dragging to select or unselect item.(支持点击、拖拽来进行选择、未选择item切换的双GridView)
Java
162
star
7

CoverFlow

Infinite loop photo wall, which support sliding around.(无限循环照片墙,支持左右滑动)
Java
153
star
8

verticaltextview

Vertical TextView, text from down to up .(竖版的TextView,文本从下往上展示)
Java
149
star
9

select_picture_module

Choose custom chart component, which supports multiple specified folder pictures and supports full screen display and to delete the selected images. (自定义选图组件,支持多选指定文件夹的图片,支持全屏展示和删除已选图片)
Java
146
star
10

edittext_with_delete_button

Custom EditText with delete button which can be clicked to clear the letters.The letters are already inputted in the EditText. (带有自动显示删除按钮的EditText,点击后可清空已经输入的内容)
Java
145
star
11

custom_seekbar

SeekBar with the custom user interface. (自定义UI样式的可选进度条)
Java
144
star
12

CustomClock

The clock is painted by canvas, with a hour,minute and second hand.(手画的时钟,带有时、分、秒针)
Java
139
star
13

IOSToggleButton

toggle button like in IOS original system.(仿IOS原生的toggle button)
Java
138
star
14

MultiListView

Custom ListView is designed to support secondary and tertiary linkage , and can be retrieved according to the first letter.(支持二、三级联动ListView,可以按首字母检索)
Java
137
star
15

Character_Line_Feed_TextView

Custom TextView, which will not automatically wrap If the end of a line is English words.(自定义TextView,一行末尾若是英文单词,不会自动换行。)
Java
137
star
16

ArcImageView

Custom ImageView is designed to support loading network and local image, which has rounded corners, or is rounded. (支持加载网络、本地的图片的四角圆角或圆形的ImageView)
Java
135
star
17

email_auto_popupwindow

Input email text when @ is written email address will be auto completed. (自动下拉关联邮箱列表)
Java
131
star
18

fade_in_out_dialog

Android Dialog which has fade-in and fade-out animation. (带有淡入淡出动画的Android Dialog)
Java
131
star
19

datepickerdialog

Custom Date Picker Dialog.(带有全日历图表and滚轮选择日期的dialog)
Java
129
star
20

CustomImageView

Custom round or rounded ImageView image. (自定义圆形or圆角图片ImageView)
Java
129
star
21

trackballs

tracking ball which has dynamic effect. (展示带有动态效果的轨迹球)
Java
126
star
22

name_indexbar

Alphabetic list on the right side to select first letter to locate ListView. (右侧26个英文字母列表的可根据首字母定位的ListView)
Java
126
star
23

CustomToast

Custom Toast extends android widget Toast. (自定义Toast,继承自android.widget.Toast)
Java
124
star
24

GuideView

Guidance of pages for application that is installed at the first time, which is encapsulated into a View. (应用第一次安装后显示的引导页,封装到一个控件中)
Java
123
star
25

ruler

Hand-painted ruler ,inch and cm for the unit , is identified by the middle of the two red line to measure the width of the articles. (手绘直尺,以inch和cm为单位的,可以通过中间的两条红线来确认要测量物品的宽度)
Java
117
star
26

ANRManager

ANR collector which can collect ANR information(收集ANR相关信息的工具类)
Java
116
star
27

horizontal_listview

Custom Horizontal ListView.(自定义的支持水平滑动的ListView)
Java
116
star
28

AndroidMultiChannelBuild

Kit support generating multi-channel apk (Android多渠道打包工具)
Java
109
star
29

hexagon

Hand-painted hexagon view or hexagon hexagon layout is composed of n button. (手绘正六边形视图or由n个按钮组成的正六边形布局)
Java
106
star
30

CustomHandler

Custom Handler mechanism to achieve communication between threads.(自定义Handler机制,实现线程间的通信)
Java
105
star
31

RequestPermission

Module used for requesting permission after 6.0(Android6.0后用来动态申请权限的模块)
Java
95
star
32

ndk_pic

Using NDK&JNI to process images.(使用NDK和JNI调整图片的亮度和对比度,使用cmake编写脚本)
CMake
65
star
33

ndk_pic_mk

Using NDK&JNI to process images, with mk.(使用NDK和JNI调整图片的亮度和对比度,使用mk编写脚本)
Java
57
star