-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8e4622
commit d7af8c2
Showing
20 changed files
with
319 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
* [Android-Studio-Plugins]:AndroidStudio 插件 | ||
* [RePlugin]:是一套完整的、稳定的、适合全面使用的,占坑类插件化方案,由360手机卫士的RePlugin Team研发,也是业内首个提出”全面插件化“(全面特性、全面兼容、全面使用)的方案。 | ||
* [Android 常见问题集锦 - 掘金] | ||
* [100篇精选干货] | ||
* [awesome-github-android-ui] 由OpenDigg整理并维护的安卓UI相关开源项目库集合 | ||
|
||
|
||
[awesome-github-android-ui]:https://github.com/opendigg/awesome-github-android-ui | ||
[100篇精选干货]:https://mp.weixin.qq.com/s?__biz=MzIwMzYwMTk1NA==&mid=2247486370&idx=1&sn=1d922d8f375cdcec20bd31cbc2f0e418&chksm=96cdaaefa1ba23f90bc4975fa9dc22a30f7b5c343b3a0924bfcabe11df96e5955ccb08191ecf#rd | ||
[Android 常见问题集锦 - 掘金]:https://juejin.im/entry/5865f3f5570c350068894aeb | ||
[Android-Studio-Plugins]:https://github.com/sunzq19931016/Android-Studio-Plugins-cn | ||
[RePlugin]:https://github.com/Qihoo360/RePlugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
工具类/框架等 | ||
|
||
* [FaceDetector]:Face detection for your Android app——人脸识别 | ||
* [FrozenUI]:移动框架 重磅出击;简单易用,轻量快捷,为移动端服务的前端框架——腾讯开源的移动端UI样式包 | ||
* [RxTools]:Android开发人员不得不收集的工具类集合 | 支付宝支付 | 微信支付(统一下单) | 微信分享 | 一键集成UCrop选择圆形头像 | 一键集成二维码和条形码的扫描与生成 | 常用Dialog | WebView的封装可播放视频 | 仿斗鱼滑动验证码 | Toast封装 | 震动 | GPS | Location定位 | 压缩与加密 | 图片缩放 | Exif 图片添加地理位置信息(经纬度) | 编译运行一下说不定会找到惊喜 | ||
|
||
|
||
[RxTools]:https://github.com/vondear/RxTools | ||
[FrozenUI]:http://frozenui.github.io/ | ||
[FaceDetector]:https://github.com/Fotoapparat/FaceDetector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
sample/src/main/java/com/sample/adapter/MainFragmentAdapter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package com.sample.adapter; | ||
|
||
import android.content.Context; | ||
import android.view.ViewGroup; | ||
import android.widget.TextView; | ||
|
||
import com.jude.easyrecyclerview.adapter.BaseViewHolder; | ||
import com.jude.easyrecyclerview.adapter.RecyclerArrayAdapter; | ||
import com.sample.R; | ||
import com.sample.bean.MainData; | ||
import com.sample.bean.UtilData; | ||
|
||
/** | ||
* @Created SiberiaDante | ||
* @Describe: | ||
* @Time: 2017/9/14 | ||
* @UpDate: | ||
* @Email: 994537867@qq.com | ||
* @GitHub: https://github.com/SiberiaDante | ||
*/ | ||
|
||
public class MainFragmentAdapter extends RecyclerArrayAdapter<MainData> { | ||
|
||
public MainFragmentAdapter(Context context) { | ||
super(context); | ||
} | ||
|
||
@Override | ||
public BaseViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { | ||
return new MainFragmentHolder(parent); | ||
} | ||
|
||
public class MainFragmentHolder extends BaseViewHolder<MainData> { | ||
|
||
private TextView mTitle; | ||
|
||
public MainFragmentHolder(ViewGroup parent) { | ||
super(parent, R.layout.item); | ||
mTitle = $(R.id.btn_item); | ||
} | ||
|
||
@Override | ||
public void setData(MainData data) { | ||
super.setData(data); | ||
mTitle.setText(data.getTitle()); | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package com.sample.bean; | ||
|
||
/** | ||
* @Created SiberiaDante | ||
* @Describe: | ||
* @Time: 2017/9/20 | ||
* @UpDate: | ||
* @Email: 994537867@qq.com | ||
* @GitHub: https://github.com/SiberiaDante | ||
*/ | ||
|
||
public class MainData { | ||
private String title; | ||
private String url; | ||
|
||
public MainData(String title, String url) { | ||
this.title = title; | ||
this.url = url; | ||
} | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
|
||
public void setTitle(String title) { | ||
this.title = title; | ||
} | ||
|
||
public String getUrl() { | ||
return url; | ||
} | ||
|
||
public void setUrl(String url) { | ||
this.url = url; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.