Skip to content

Latest commit

 

History

History
164 lines (143 loc) · 12.7 KB

README.md

File metadata and controls

164 lines (143 loc) · 12.7 KB

BaseComponentLibrary

Download

dependencies:

    api "com.android.support:appcompat-v7:28.0.0"
    api "com.android.support:recyclerview-v7:28.0.0"
    api "com.android.support:design:28.0.0"
    api 'com.android.support.constraint:constraint-layout:2.0.0-alpha2'

Maven:

<dependency>
  <groupId>jsc.kit.component</groupId>
  <artifactId>BaseComponentLibrary</artifactId>
  <version>_latestVersion</version>
  <type>pom</type>
</dependency>

Gradle:

compile 'jsc.kit.component:BaseComponentLibrary:_latestVersion'

optional:

You may need to add maven url in your app gradle file as below:

allprojects {
    repositories {
        ...
        maven { url "https://dl.bintray.com/justinquote/maven" }
    }
}

ProGuard:

Content:

Component list:

index Component Article
1 LGradientArcHeaderView ArcHeaderView和ArcHeaderDrawable
2 PictureArcHeaderView 同上
3 ArcHeaderDrawable 同上
4 JSCBannerView 用ViewPager打造高性能广告轮播控件BannerView
5 MonthView 日历 MonthView
6 ReboundFrameLayout 仿IOS拖拽回弹之进阶ReboundFrameLayout
7 RefreshLayout 打造类似SwipeRefreshLayout的下拉刷新控件
8 VerticalStepView 公交线路 VerticalStepView
9 JSCRoundCornerProgressBar
10 JSCItemLayout
11 VScrollScreenLayout 打造上下滑动翻屏VScrollScreenLayout
12 RadarView 雷达(蜘蛛网)图RadarView
13 TurntableView 抽奖转盘TurntableView
14 SwipeRefreshRecyclerView 用SwipeRefreshLayout+RecyclerView精心打造下拉刷新控件
15 RippleView 水波纹效果RippView
16 CustomToast
17 AntiShakeUtils 这才是实现防抖动(防快速点击)的最优雅写法
18 VerticalColumnarGraphView 自定义优美的柱形图控件
19 AdvertisementView 记一次App从后台切换到前台显示全屏广告实践
20 PermissionChecker 简洁易用andrioid6.0+权限请求组件
21 BaseAppCompatActivity
22 BasePhotoActivity 从相册选取图片,拍照、裁剪一篇就够了
23 BaseMVPActivity MVP+Retrofit2+RxAndroid解锁新姿势
24 ReboundRecyclerView 酷炫拖拽反弹ReboundRecyclerView
25 CameraMask 二维码扫描,强大的相机遮罩CameraMask
26 ScannerCameraMask 同上
27 VerticalStepLinearLayout 超级酷炫的Step View,不看你会后悔
28 GuideRippleView 强大实用的功能引导组件
29 GuideLayout 同上
30 AutoTextSizeView 巧用二分法自动调整字体大小
31 FragmentBackHelper 内存管理之Fragment回退栈管理
32 AverageLayout 超级好用的均分布局AverageLayout
33 LineChartView 折线分布图LineChartView
34 ReboundLinearLayout

Usage examples:

index Component Article
1 BottomNavigationView 给BottomNavigationView添加未读消息红点提示
2 GuidePopupView 强大实用的功能引导组件
3 GuidePopupWindow 同上
4 GuideDialog 同上
update log:

v0.4.8:

optimize components:

v0.4.7:

add some components:

optimize component:

update advertisement demo:

v0.4.6:

add some components:

v0.4.5:

add some components:

v0.4.4:

add guide navigation components:

v0.4.3:

update VerticalStepLinearLayout:

  • support show index at LEFT or RIGHT.
  • support sort index base on SORT_BASE_TOP or SORT_BASE_FIRST.

v0.4.2:

fix a bug about PermissionChecker.
add some components:

update some components:

v0.4.1:

fix a bug about DateTimePicker : There are 12 months when the start year is same as the end year.

v0.4.0:

update demo Components activity optimize CameraMask

  • 1、support two different mask shape: square and circular. Call method setMaskShape(@MaskShape int maskShape) to change mask shape.

v0.3.9:

v0.3.8:

add the usage of CameraMask - CameraMaskActivity.
optimize component CameraMask:

  • 1、support set tip text dynamically
  • 2、support set the location of tip text dynamically
  • 3、support set the location of camera lens dynamically
  • 4、support set the mask color of camera lens dynamically

V0.3.7: