| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7dc681e commit 8d44588
469 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -169,29 +169,29 @@ | |||
| 169 | 169 | ||
| 170 | 170 | public final View getItemView() | |
| 171 | 171 | ||
| 172 | - public final <V extends View> V findViewById(@IdRes int viewId) | ||
| 172 | + public final <V extends View> V findViewById(@IdRes int id) | ||
| 173 | 173 | ||
| 174 | - public final ViewHolder setText(@IdRes int viewId, @StringRes int resId) | ||
| 174 | + public final ViewHolder setText(@IdRes int id, @StringRes int id) | ||
| 175 | 175 | ||
| 176 | - public final ViewHolder setText(@IdRes int viewId, String text) | ||
| 176 | + public final ViewHolder setText(@IdRes int id, String text) | ||
| 177 | 177 | ||
| 178 | - public final ViewHolder setVisibility(@IdRes int viewId, int visibility) | ||
| 178 | + public final ViewHolder setVisibility(@IdRes int id, int visibility) | ||
| 179 | 179 | ||
| 180 | - public final ViewHolder setColor(@IdRes int viewId, @ColorInt int color) | ||
| 180 | + public final ViewHolder setColor(@IdRes int id, @ColorInt int color) | ||
| 181 | 181 | ||
| 182 | - public final ViewHolder setImage(@IdRes int viewId, @DrawableRes int resId) | ||
| 182 | + public final ViewHolder setImage(@IdRes int id, @DrawableRes int drawableId) | ||
| 183 | 183 | ||
| 184 | 184 | > 监听方法(必须在 RecyclerView.setAdapter 之前调用) | |
| 185 | 185 | ||
| 186 | - public void setOnItemClickListener(OnItemClickListener l) | ||
| 186 | + public void setOnItemClickListener(OnItemClickListener listener) | ||
| 187 | 187 | ||
| 188 | - public void setOnChildClickListener(@IdRes int childId, OnChildClickListener l) | ||
| 188 | + public void setOnChildClickListener(@IdRes int id, OnChildClickListener listener) | ||
| 189 | 189 | ||
| 190 | - public void setOnItemLongClickListener(OnItemLongClickListener l) | ||
| 190 | + public void setOnItemLongClickListener(OnItemLongClickListener listener) | ||
| 191 | 191 | ||
| 192 | - public void setOnChildLongClickListener(@IdRes int childId, OnChildLongClickListener l) | ||
| 192 | + public void setOnChildLongClickListener(@IdRes int id, OnChildLongClickListener listener) | ||
| 193 | 193 | ||
| 194 | - public void setOnScrollingListener(OnScrollingListener l) | ||
| 194 | + public void setOnScrollingListener(OnScrollingListener listener) | ||
| 195 | 195 | ||
| 196 | 196 | > MyListViewAdapter 和 MyRecyclerViewAdapter 差不多,只不过没有上面这些监听方法,因为 ListView 本身已经自带这些了 | |
| 197 | 197 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,76 +1,48 @@ | |||
| 1 | - # 模板工程 | ||
| 1 | + # 安卓架构 | ||
| 2 | 2 | ||
| 3 | 3 | > 博客地址:[但愿人长久,搬砖不再有](https://www.jianshu.com/p/77dd326f21dc) | |
| 4 | 4 | ||
| 5 | 5 | > 当我们日复一日年复一年的搬砖的时候,你是否曾想过提升一下开发效率,如果一个模板的项目摆在你的面前,你还会选择自己搭架构么 | |
| 6 | 6 | ||
| 7 | - > 但是做出一个好的模板项目并非易事,有多少人愿意选择去做,还有多少人选择努力去做好,可能寥寥无几,但是你今天看到的,正是你所想要的,一个真正能解决你开发新项目时最大痛点的模板工程,你不需要再麻木 Copy 原有旧项目的代码,只需改动少量代码就能得到想要的效果,你会发现开发新项目其实是一件很快乐的事 | ||
| 7 | + > 但是搭建出一个好的架构并非易事,有多少人愿意选择去做,还有多少人选择努力去做好,可能寥寥无几,但是你今天看到的,正是你所想要的,一个真正能解决你开发新项目时最大痛点的架构工程,你不需要再麻木 Copy 原有旧项目的代码,只需改动少量代码就能得到想要的效果,你会发现开发新项目其实是一件很快乐的事 | ||
| 8 | 8 | ||
| 9 | - > 已经正式投入公司新项目开发多时,暂时没有发现毛病,[点击此处下载Demo](https://raw.githubusercontent.com/getActivity/AndroidProject/master/AndroidProject.apk),如果有问题随时欢迎你提交 [issues](https://github.com/getActivity/AndroidProject/issues/new) 给我反馈 | ||
| 9 | + > 已经正式投入多个公司项目实践,暂时没有发现任何问题,[点击此处下载Demo](https://raw.githubusercontent.com/getActivity/AndroidProject/master/AndroidProject.apk) | ||
| 10 | 10 | ||
| 11 | -  | ||
| 11 | +  | ||
| 12 | 12 | ||
| 13 | -  | ||
| 13 | + #### 常用界面 | ||
| 14 | 14 | ||
| 15 | -  | ||
| 15 | +    | ||
| 16 | 16 | ||
| 17 | -  | ||
| 17 | +    | ||
| 18 | 18 | ||
| 19 | -  | ||
| 19 | +    | ||
| 20 | 20 | ||
| 21 | -  | ||
| 21 | +    | ||
| 22 | 22 | ||
| 23 | -  | ||
| 23 | +    | ||
| 24 | 24 | ||
| 25 | -  | ||
| 25 | +    | ||
| 26 | 26 | ||
| 27 | -  | ||
| 27 | +    | ||
| 28 | 28 | ||
| 29 | -  | ||
| 29 | + #### 常用对话框 | ||
| 30 | 30 | ||
| 31 | -  | ||
| 31 | +    | ||
| 32 | 32 | ||
| 33 | -  | ||
| 33 | +    | ||
| 34 | 34 | ||
| 35 | -  | ||
| 35 | +    | ||
| 36 | 36 | ||
| 37 | -  | ||
| 37 | +    | ||
| 38 | 38 | ||
| 39 | -  | ||
| 39 | +    | ||
| 40 | 40 | ||
| 41 | -  | ||
| 41 | + #### 动图欣赏 | ||
| 42 | 42 | ||
| 43 | -  | ||
| 43 | +    | ||
| 44 | 44 | ||
| 45 | -  | ||
| 46 | - | ||
| 47 | -  | ||
| 48 | - | ||
| 49 | -  | ||
| 50 | - | ||
| 51 | -  | ||
| 52 | - | ||
| 53 | -  | ||
| 54 | - | ||
| 55 | -  | ||
| 56 | - | ||
| 57 | -  | ||
| 58 | - | ||
| 59 | -  | ||
| 60 | - | ||
| 61 | -  | ||
| 62 | - | ||
| 63 | -  | ||
| 64 | - | ||
| 65 | -  | ||
| 66 | - | ||
| 67 | -  | ||
| 68 | - | ||
| 69 | -  | ||
| 70 | - | ||
| 71 | -  | ||
| 72 | - | ||
| 73 | -  | ||
| 45 | +    | ||
| 74 | 46 | ||
| 75 | 47 | #### 集成框架 | |
| 76 | 48 | ||
@@ -82,17 +54,19 @@ | |||
| 82 | 54 | ||
| 83 | 55 | * 状态栏沉浸:[https://github.com/gyf-dev/ImmersionBar](https://github.com/gyf-dev/ImmersionBar) | |
| 84 | 56 | ||
| 85 | - * 界面侧滑功能:[https://github.com/bingoogolapple/BGASwipeBackLayout-Android](https://github.com/bingoogolapple/BGASwipeBackLayout-Android) | ||
| 57 | + * 缩放 ImageView:[https://github.com/chrisbanes/PhotoView](https://github.com/chrisbanes/PhotoView) | ||
| 86 | 58 | ||
| 87 | - * 圆形ImageView:[https://github.com/hdodenhof/CircleImageView](https://github.com/hdodenhof/CircleImageView) | ||
| 59 | + * ViewPager 指示器:[https://github.com/romandanylyk/PageIndicatorView](https://github.com/romandanylyk/PageIndicatorView) | ||
| 88 | 60 | ||
| 89 | - * 缩放ImageView:[https://github.com/chrisbanes/PhotoView](https://github.com/chrisbanes/PhotoView) | ||
| 61 | + * ButterKnife 注解:[https://github.com/JakeWharton/butterknife](https://github.com/JakeWharton/butterknife) | ||
| 90 | 62 | ||
| 91 | - * ButterKnife注解:[https://github.com/JakeWharton/butterknife](https://github.com/JakeWharton/butterknife) | ||
| 63 | + * EventBus 事件:[https://github.com/greenrobot/EventBus](https://github.com/greenrobot/EventBus) | ||
| 92 | 64 | ||
| 93 | - #### 模板项目亮点,[查看详细](ProjectDetails.md) | ||
| 65 | + * 内存泄漏捕捉:[https://github.com/square/leakcanary](https://github.com/square/leakcanary) | ||
| 94 | 66 | ||
| 95 | - * APP用户体验:已经集成界面侧滑以及状态栏沉浸框架 | ||
| 67 | + * 本地异常捕捉:[https://github.com/Ereza/CustomActivityOnCrash](https://github.com/Ereza/CustomActivityOnCrash) | ||
| 68 | + | ||
| 69 | + #### 模板项目亮点,[查看详细](ProjectDetails.md) | ||
| 96 | 70 | ||
| 97 | 71 | * 必备优秀框架:危险权限处理,标题栏控件,吐司工具类,圆形ImageView | |
| 98 | 72 | ||
@@ -126,15 +100,19 @@ | |||
| 126 | 100 | ||
| 127 | 101 | * 吐司框架:[ToastUtils](https://github.com/getActivity/ToastUtils) | |
| 128 | 102 | ||
| 129 | - * 悬浮窗框架:[XToast](https://github.com/getActivity/XToast) | ||
| 103 | + * 国际化框架:[MultiLanguages](https://github.com/getActivity/MultiLanguages) | ||
| 130 | 104 | ||
| 131 | 105 | * 标题栏框架:[TitleBar](https://github.com/getActivity/TitleBar) | |
| 132 | 106 | ||
| 107 | + * 悬浮窗框架:[XToast](https://github.com/getActivity/XToast) | ||
| 108 | + | ||
| 133 | 109 | #### Android技术讨论Q群:78797078 | |
| 134 | 110 | ||
| 135 | 111 | #### 如果您觉得我的开源库帮你节省了大量的开发时间,请扫描下方的二维码随意打赏,要是能打赏个 10.24 :monkey_face:就太:thumbsup:了。您的支持将鼓励我继续创作:octocat: | |
| 136 | 112 | ||
| 137 | -   | ||
| 113 | +   | ||
| 114 | + | ||
| 115 | + #### [点击查看捐赠列表](https://github.com/getActivity/Donate) | ||
| 138 | 116 | ||
| 139 | 117 | ## License | |
| 140 | 118 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments