Skip to content

ITGungnir/UIKit

Repository files navigation

UIKit

License

UIKit是一个控件库,其中提供的控件及文档如下:

  • Banner:一个可以自动无限循环滚动的控件,可自定义设置自动滚动和无限滚动
  • RichText:用于方便快捷的展示富文本的控件
  • StatusView:一个可以在不同状态下切换的控件

使用

在项目根目录下的build.gradle文件中添加JitPack仓库的引用:

buildscript {
    // ... Your codes
    repositories {
        // ... Your codes
        maven { url 'https://jitpack.io' }
    }
}

在子模块的build.gradle文件中加入如下依赖:

dependencies {
    // ... Your codes
    api "com.github.ITGungnir:UIKit:$uikit_version"
}

参考不同控件的相关文档,使用控件即可。

License

Copyright 2019 ITGungnir

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Common UI used in ITGungnir's projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published