当前位置: 首页 > 软件库 > 手机/移动开发 > >

android-tips-tricks

授权协议 Apache-2.0 License
开发语言 Kotlin
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 诸葛煜
操作系统 Android
开源组织
适用人群 未知
 软件概览

Cheatsheet about tips and tricks for Android Development.

This is a simple set of tips and tricks regarding Android Development which I have gathered from various sources. It helps me direct other android devs in my community regarding stuff each android dev should know about. It is also there for me to keep track of anything I either learn on my own or from other sources now and then when browsing the internet.

Contributions are always welcome, hoping people will help me in growing this. To contribute, simply open up a PR with the changes.

Click here to navigate to the searchable book version

Show some ♥️ and �� the repo to support the project

Featured in

Also included in

Credits

This curated cheatsheet includes tips and tricks that I have been following in my workflow as well as those being suggested/followed by other android devs worldwide.I have tried to add direct links wherever I could remember, giving people due credit who have explained the concepts. If you think I have missed any, then either send a PR or open an issue and I will fix it asap.

If you appreciate my work, consider buying me a cup of ☕️ to keep me recharged ���� [PayPal]

License

Copyright 2016 Nishant Srivastava

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.
  • 条件语句非空判断 if(TextUtils.isEmpty(username)){ return; } String name = username; Edittext 非空判断,如果为空,则该edittext自动获取焦点 => if (TextUtils.isEmpty(username)) { Toast.makeText(this, getResources().getStr

  • 2017 腾讯实习生 Android 客户端开发面试总结 - Android - 掘金 先做个自我介绍,本人大三狗一枚,就读的是广州一个普通的一本大学 (非 985、211),专业是比较尴尬的电子商务 (非计算机学院,连 C 的课程都没有就只有 Java),但是一切的尴尬并没有阻挡我对 Android 开发的热爱,自学一年多差不多两年了,基础以及... 那些年收藏的 Android 开源库集合 (

  • Android Theme.AppCompat 中,你应该熟悉的颜色属性 - 掘金 创建一个 Android 工程,第一步,也是必不可少的一步,就是定制 Application 主题样式。利用系统诸多属性定义 App 各种 View 的默认样式,能够减少 layout 文件中很多重复性的属性设置代码。在开发者官网 R.attr 栏目中,Goo... 「Android6.0权限适配| 掘金技术征文

  • Android Studio Delete Module 1.选中Module右击,选择 Open Module Settings,打开Project Structure 窗空。(或者选中Module,按F4打开Project Structure窗口) 2.选中要移除的Module,点击 “-”  Remove Module,然后点击OK。 3.再次选中Module右击,就会出现Delete操作,

  • 安卓开发终极指南: 50 多个初高级开发资源(译) - Android - 掘金 编辑推荐:稀土掘金,这是一个针对技术开发者的一个应用,你可以在掘金上获取最新最优质的技术干货,不仅仅是Android知识、前端、后端以至于产品和设计都有涉猎,想成为全栈工程师的朋友不要错过! .runtimead { text-al... 寻找卓越的(Android)软件工程师(译) - 掘金 在过去五年中,我一直做

  • 用粒子动画显示各种文字的 Android 自定义 View - Android - 掘金 一、总述 ParticleTextView 是一个 Android 平台的自定义 view 组件,可以用彩色粒子组成指定的文字,并配合多种动画效果和配置属性,呈现出丰富的视觉效果。 二、使... 利用递归算法、堆栈打造一个android可擦除思维导图 - 掘金 前言 说来也奇怪,高中学代码的时候,整天在刷一些

 相关资料
  • EnglishVersion ->_->:https://github.com/jiang111/awesome-android-tips/blob/master/README-en.md 值得收藏的AS插件 ->_->:https://github.com/jiang111/awesome-androidstudio-plugins 这里收集了大家常用的一些Android代码,持续更新中,内容来

  • PyCharm在启动过程中包含各种提示,帮助用户了解其功能和操作。 它还包括一些必须理解的快捷方式。 在本章中,您将看到一些重要的PyCharm技巧。 将文件更改为特定的更改列表 本技巧说明如何根据用户的选择将文件更改为特定的更改列表。 这有助于根据版本控制系统设置管理存储库。 请观察以下屏幕截图以便更好地理解 - 显示class中所有用法的列表 此函数显示项目中特定类,方法或变量中包含的所有用法

  • Handsontable performs multiple calculations to display the grid properly. The most demanding actions are performed on load, change and scroll events. Every single operation decreases the performance,

  • 基本准则 在shouldComponentUpdate中避免不必要的检查. 使用不可变数据类型(Immutable). 编写针对产品环境的打包配置(Production Build). 通过Chrome Timeline来记录组件所耗费的资源. 在componentWillMount或者componentDidMount里面通过setTimeOut或者requestAnimationFram来延迟

  • Tips 在使用生态云某个区域的应用引擎部署应用之前,需要给用户组添加对应的Space的SpaceDeveloper权限。下图是一个示例。 在使用用户画像和用户画像+之前,需要给用户组添加BIGDATA的ACCESS_ALLOW权限,如下图所示。

  • 《PHPer、Gopher成长之路》V1.10 「全原创系列」 记录我在成为一名PHPer、Gopher路上的学习过程 English Version 版权申明 未经版权所有者明确授权,禁止发行本手册及其被实质上修改的版本。 未经版权所有者事先授权,禁止将此作品及其衍生作品以标准(纸质)书籍形式发行。 前言 基础不牢,地动山摇,谨以此句提醒自己。 备注 状态 含义 ��️ 当前未开始总结 �� 总