
Android Dev
Seaee
这个作者很懒,什么都没留下…
展开
-
关于Android intent
Intent是什么? Intent是一种运行时绑定机制,它能在程序运行过程中连接两个不同的组件。通过Intent,你的程序可以向Android表达某种请求或者意愿,Android会根据意愿的内容选择适当的组件来完成请求。比如, 有一个Activity希望打开网页浏览器查看某一网页的内容,那么这个Activity只需要发出WEB_SEARCH_ACTION给Android, Android就会根据原创 2016-11-01 15:39:07 · 530 阅读 · 0 评论 -
RecyclerView
随着Android 5.x的普及,它的一些特性也在越来越多的APP中使用到,其中RecyclerView就是其中一个。RecyclerView 是一个像 ListView、GridVIew 那样呈现数据集合的 UI 组件,实际上它的目的是要替换掉这两个组件。从测试的角度上来看我们感兴趣的有是 RecyclerView 不是一个 AdapterView,这意味着你不能使用 onData() 去跟你的转载 2016-08-02 15:09:07 · 640 阅读 · 0 评论 -
Android 开发需要知道的一些基本概念
1,Android Activity 是什么概念? Android 中,Activity 是所有程序的根本,所有程序的流程都运行在Activity 之中,Activity可以算是开发者遇到的最频繁,也是Android 当中最基本的模块之一。在Android的程序当中,Activity 一般代表手机屏幕的一屏。如果把手机比作一个浏览器,那么Activity就相当于一个网页。在Activity原创 2016-07-27 14:14:48 · 1398 阅读 · 0 评论 -
Gradle Sync issue in Android Studio
Error: Could not find com.android.tools.build:gradle:2.2.2. Searched in the following locations: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.pom https://repo1.ma原创 2016-11-14 13:35:51 · 2692 阅读 · 0 评论 -
“Gradle Version 3.2 is required.” Error
You need to change File > Settings > Builds,Execution,Deployment > Build Tools > Gradle >Gradle home path On Mac OS, change the path in Android Studio > Preferences > Builds,Execution,Deployment >原创 2017-01-16 16:05:17 · 794 阅读 · 0 评论