Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ailiwean committed Jul 24, 2020
2 parents 75fcf17 + 56f3b7d commit 8cdc1c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NBZxing
一个稳定完善的扫码库,几行代码既可接入,完美适配各种分辨率,无拉伸。

### 依赖

[![](https://jitpack.io/v/ailiwean/NBZxing.svg)](https://jitpack.io/#ailiwean/NBZxing)
Expand Down Expand Up @@ -84,6 +84,8 @@ class CusZxingView @JvmOverloads constructor(context: Context, attributeSet: Att
}
```

**注意:仅支持AndroidX**


#### 图片资源解析
在ZxingCameraView的子类中调用
Expand All @@ -103,7 +105,6 @@ protected open fun resultBackFile(content: String) {
}
```
注意:在解析图片资源时会自动关闭相机, 若解析失败则重写打开

-------

Expand Down

0 comments on commit 8cdc1c1

Please sign in to comment.