Skip to content

Commit

Permalink
yoyiyi
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyiyi committed Aug 22, 2017
1 parent fa78d81 commit 341b69b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ An unofficial bilibili client for android

## Remark

#### java版地址:[bilibili](https://github.com/yoyiyi/bilisoleil)
#### java版地址:[bilisoleil](https://github.com/yoyiyi/bilisoleil)
#### kotlin版地址:[bilisoleil-kotlin](https://github.com/yoyiyi/bilisoleil-kotlin)

b站接口有些加密过,抓不到,有些我直接抓了一个,请求参数啥的,不懂啥意思,直接用了,有些接口直接用原项目[bilibili-android-client](https://github.com/HotBitmapGG/bilibili-android-client)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ public LiveBannerSection(List<LivePartition.BannerBean> list) {

@Override
public void onBindHeaderViewHolder(ViewHolder holder) {
Banner bannar = holder.getView(R.id.banner);
Banner banner = holder.getView(R.id.banner);
List<String> urls = Stream.of(mList).map(bannerBean -> bannerBean.img).collect(Collectors.toList());
bannar.setIndicatorGravity(BannerConfig.RIGHT)
banner.setIndicatorGravity(BannerConfig.RIGHT)
.setImages(urls)
.setImageLoader(new GlideImageLoader())
.start();
bannar.setOnBannerListener(i -> {
banner.setOnBannerListener(i -> {
LivePartition.BannerBean bannerBean = mList.get(i);
BrowerActivity.startActivity(mContext,bannerBean.link,bannerBean.title,bannerBean.img);
});
Expand Down

0 comments on commit 341b69b

Please sign in to comment.