Skip to content

Latest commit

 

History

History
98 lines (71 loc) · 7.17 KB

README.md

File metadata and controls

98 lines (71 loc) · 7.17 KB

Jetpack

Site: https://developer.android.google.cn/jetpack

JetpackDemo

Demo that used to show how to use Jetpack libraries.

Library Index
NewCameraX Show how to scan QRCode by CameraX api and Huawei Scankit or Google Zxing library.
Hilt Show DI case with perfect Hilt annotation.
Dagger2 Show DI case with Dagger2 annotation.
Compose Show how to use Compose UI library.
Room Show how to use Room API.
CameraX Show how to use CameraX api, such as preview, image capture and video recording.
AppCompat Show DynamicTint and AutoSize feature with AppCompat API.
Viewbinding Show Viewbinding use case.
Databinding Show Databinding use case.
ViewModel Show ViewModel use case.
ViewModel x DataBinding Show how to use ViewModel and DataBinding.
Lifecycle Show Lifecycle test code.
LiveData Show LiveData test code.
DataStore Todo
SavingStates Todo
StartUp Todo
Paging Todo
ActivityResult Todo
Navigation Todo
WorkManager Todo

📸 NewCameraX

12-widget

Select analysis service

Scan QRCode by Huawei ScanKit

Auto zoom when long distance

Show point view when scan succeed

🍴 Hilt

Hilt Demo

🔪 Dagger2

Dagger2 Demo

🎨 Compose

Compose Demo

Compose Demo

🏠 Room

Room Demo

📸 CameraX

12-widget

🔧 AppCompat

DynamicTint & AutoSize

📙 My blog

https://blog.csdn.net/allisonchen

license

MIT License

Copyright (c) 2021 Ellison Chan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.