红橙Darren 红橙Darren
4年前
Android Fragment 从源码的角度去解析(下)
1.概述上一篇博客已经简单的讲了一下Fragment的使用并写了一个基本的实例,接下来就将其整合到项目中。附视频地址:    这里写图片描述2.效果实现列表和轮播条不做过多的解释就是访问接口获取数据而已,这个在和都讲过了。我们直接整合进去这个时候我们发现一个奇怪的问题,就是切换之后会去重新加载数据很不正常。  一般的思路我们会换实现方法
Stella981 Stella981
4年前
Android Studio 编译异常Could not execute build using Gradle installation解决办法
AndroidStudio编译异常CouldnotexecutebuildusingGradleinstallation解决办法参考文章:(1)AndroidStudio编译异常CouldnotexecutebuildusingGradleinstallation解决办法(https://www.oschi
Stella981 Stella981
4年前
Android模拟器不能上网的解决方法
我原来一直不用Android的模拟器,因为这东西的多年前的印象真的是很糟糕——启动半个小时,不支持OpenGL。即使后来有了x86镜像,在HAXM的支持下快的飞起,也不想用,因为NDK还要编译x86的。那个时候我一直用网易的MuMu模拟器——只需要编译Armv7的就行了。再后来就是网易的全部MacApp不知道抽了什么风,疯狂写log,直到写满硬盘为止,我就
Stella981 Stella981
4年前
OpenCascade编译
OpenCASCADE的编译 The Installation and Compilation of OpenCASCADEeryar@163.com(https://www.oschina.net/action/GoT
Stella981 Stella981
4年前
Android toolbar 标题精确居中 不会因返回键偏移
1\.总的布局文件<android.support.design.widget.CoordinatorLayoutxmlns:android"http://schemas.android.com/apk/res/android"xmlns:app"http://schemas.android.com
Stella981 Stella981
4年前
Android控件ListView简易使用(使用ArrayAdapter)
<?xmlversion"1.0"encoding"utf8"?<TextViewxmlns:android"http://schemas.android.com/apk/res/android"android:id"@id/tv"android:la
Stella981 Stella981
4年前
CentOS 手工编译、手动编译安装 MongoDB
下载所需软件(下载到/usr/local/src目录)wgethttp://downloads.mongodb.org/src/mongodbsrcr1.8.1.tar.gzwgethttp://ftp.mozilla.org/pub/mozilla.org/js/js1.7.0.tar.gzwgethttp
Stella981 Stella981
4年前
Android Drawable完全解析(一):Drawable源码分析(下)
AndroidDrawable完全解析(一):Drawable源码分析(上)(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.jianshu.com%2Fp%2F384a70897ba6)AndroidDrawable完全解析(一):Drawable源码分析(中)(htt
Wesley13 Wesley13
4年前
编译Linux
如题:scripts/extractcert.c:21:25:fatalerror:openssl/bio.h:Nosuchfileordirectorycompilationterminated.scripts/Makefile.host:90:recipefortarget'scripts/ex
待兔 待兔
7个月前
Android Glide的源码三线主线分析
Here'stheMarkdownversionofyourarticle:markdownGlide流程分析说到图片加载框架,大家最熟悉的莫过于Glide了,但我却不推荐简历上写熟悉Glide,除非你熟读它的源码,或者参与Glide的开发和维护。然而很多