# annex
**Repository Path**: manypeaks/annexLib
## Basic Information
- **Project Name**: annex
- **Description**: 附件(发布版本时,组织比个人稳定)
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-04-04
- **Last Updated**: 2025-11-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# annex 版本
[](https://jitpack.io/#com.gitee.manypeaks/annexLib)
#### 介绍
附件
#### 安装教程
1. 使用九宫格布局添加图片
1.1.布局文件添加
1.2 设置回调和view
pictureView = findViewById(R.id.pictureView);
pictureView.setRootView(main);
pictureView.setClickPictureCallback(this);
1.3 属性
2. 使用头像更换工具
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
....
HeadPortraitUtils.create(mView, mImageView, this);
....
}
3. 使用tbs预览服务
3.1 初始化
public class App extends Application {
@Override
public void onCreate() {
super.onCreate();
//全局初始化
Latte.init(this).configure();
......
QbSdkUtils.init();
......
}
}
3.2 开始使用
public void onClick5(View view) {
QbSdkUtils.openFileReader(this,"/storage/emulated/0/down_loads/派车单审核统计表.xls",null,null);
}
3.3 结束使用
@Override
protected void onDestroy() {
super.onDestroy();
QbSdkUtils.closeFileReader(this);
}
4. 使用图片预览服务
public void onClick6(View view) {
ImageLoaderUtils.create(null, "");
//or
ImageLoaderUtils.create(mImageView, "");
}
public void onClick7(View view) {
List