Android开发Android技术知识Android开发

Sange散华 - 一个快速实现RecyclerView分页加载

2019-06-28  本文已影响35人  Season_zlc
image

Sange(散华)

github地址

Read this in other languages: 中文, English

一个快速实现RecyclerView分页加载的轻量级库.

物品介绍:

散华是一件异常精准的武器。它具有不可思议的灵性,就好像它会自己寻找对手的弱点进行攻击。

增加16点的力量。

增加10点的攻击力。

残废(被动):在攻击中有15%的几率使目标残废。残废效果降低目标20%的移动速度,持续4秒。

Prepare

  1. 添加jitpack到build.gradle
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
  1. 添加依赖
dependencies {
    // 替换 xyz 为具体的版本号, 例如 1.0.0
    implementation 'com.github.ssseasonnn:Sange:xyz'
}

Start

First Blood

Double Kill

到目前为止我们一切进展很顺利, 可是似乎缺少了分页加载的状态显示, 下面来实现它吧.

Triple Kill

END

image

github地址

License

Copyright 2019 Season.Zlc

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.
上一篇 下一篇

猜你喜欢

热点阅读