- 博客(18)
- 资源 (4)
- 收藏
- 关注
转载 Android 初识Retrofit
转载自:http://blog.csdn.net/jdsjlzx/article/details/52015347什么是 Retrofit ?Retrofit 是一套 RESTful 架构的 Android(Java) 客户端实现,基于注解,提供 JSON to POJO(Plain Ordinary Java Object ,简单 Java 对象),POJO to JSO
2017-02-07 09:28:02 444
转载 Android,DataBinding的官方双向绑定
转载自:http://www.jianshu.com/p/c481d1f4e0b6在Android Studio 2.1 Preview 3之后,官方开始支持双向绑定了。可惜目前Google并没有在Data Binding指南里面加入这个教程,并且在整个互联网之中只有这篇文章介绍了如何使用反向绑定。在阅读一下文章之前,我假设你已经知道如何正向绑定。回顾一下Data
2017-02-06 17:47:17 1714 1
转载 Android单元测试 - 如何开始?
转载自:http://www.jianshu.com/p/bc99678b1d6e回顾:《谈谈为什么写单元测试》基本单元测试框架Java单元测试框架:Junit、Mockito、Powermockito等;Android:Robolectric、AndroidJUnitRunner、Espresso等。最开始建议先学习Junit & Mockito。
2017-02-06 12:04:47 1136
转载 Android DataBinding:再见Presenter,你好ViewModel!
@author ASCE1885的 Github 简书 微博 CSDN 原文链接最近一段时间MVP模式已经成为Android应用开发UI层架构设计的主流趋势。类似TED MOSBY,nucleus和mortar之类的框架都引入了Presenters来帮助我们搭建简洁的app架构。它们也(在不同的程度上)帮助我们处理Android平台上臭名昭著的设备旋转和状态持久化等问题。MVP
2017-02-06 09:34:51 1376
转载 ConstraintLayout完全解析
转载自:http://blog.csdn.net/guolin_blog/article/details/53122387今天给大家带来2017年的第一篇文章,这里先祝大家新年好。本篇文章的主题是ConstraintLayout。其实ConstraintLayout是Android Studio 2.2中主要的新增功能之一,也是Google在去年的I/O大会上重点宣传的一个功能。我
2017-02-06 08:51:09 1545
转载 Android路由框架Router分析
转载自:http://www.jianshu.com/p/f582c3893bedAndroid路由框架Router的分析什么是路由?说简单点就是映射页面跳转关系的,当然它也包含跳转相关的一切功能。路由框架的意义Android系统已经给我们提供了api来做页面跳转,比如startActivity,为什么还需要路由框架呢?我们来简单分析下路由框架存在的意义:在
2017-02-05 21:30:40 13272
原创 PHPStudy搭建WordPress本地网站
参考:http://jingyan.baidu.com/article/a3a3f811c525038da3eb8a49.html1、下载phpstudy:http://www.phpstudy.net/;2、解压phpstudy压缩包,点击安装程序进行安装。安装完成后打开phpstudy,点击‘启动’按钮,Apache和MySQL指示灯变绿表示phpstudy安装成功。在phps
2017-02-05 19:06:16 5977
转载 Android DataBinding完全解析
转载自:https://github.com/LyndonChin/MasteringAndroidDataBinding官方虽然已经给出了教程 - Data Binding Guide (中文版 - Data Binding(数据绑定)用户指南) ,但是实践之后发现槽点实在太多,于是就有了这个教程,针对每个知识点给出更详实的例子同时也总结了遇到的一些坑,希望对你有所帮助:)D
2017-02-04 21:16:04 4486
转载 Android Studio - Error: Failed to resolve: com.android.support.constraint:constraint-layout:1.0.0-al
转载自:http://stackoverflow.com/questions/40160968/android-studio-error-failed-to-resolve-com-android-support-constraintconstr/40268563You need add check in, open Settings -> Appearance & Behavior ->
2017-02-04 17:12:51 10097 1
转载 merge sort(归并排序)
转载自:http://java2novice.com/java-sorting-algorithms/merge-sort/Merge sort is a divide and conquer algorithm.Steps to implement Merge Sort:1) Divide the unsorted array into n partition
2017-02-04 14:32:46 1120
转载 quick sort(快速排序)
转载自:http://java2novice.com/java-sorting-algorithms/quick-sort/Quicksort or partition-exchange sort, is a fast sorting algorithm, which is using divide and conquer algorithm. Quicksort first
2017-02-04 14:29:36 2156
转载 insertion sort(插入排序)
转载自:http://java2novice.com/java-sorting-algorithms/insertion-sort/Insertion sort is a simple sorting algorithm, it builds the final sorted array one item at a time. It is much less efficient
2017-02-04 14:18:00 1353
转载 selection sort(选择排序)
转载自:http://java2novice.com/java-sorting-algorithms/selection-sort/The selection sort is a combination of searching and sorting. During each pass, the unsorted element with the smallest (or large
2017-02-04 14:15:19 756
转载 Bubble sort(冒泡排序)
转载自:http://java2novice.com/java-sorting-algorithms/bubble-sort/Bubble sort, also referred to as sinking sort, is a simple sorting algorithm that works by repeatedly stepping through the list to be
2017-02-04 14:12:41 1974
转载 Java Sorting Algorithms(Java排序算法)
转载自:http://java2novice.com/java-sorting-algorithms/Java Sorting AlgorithmsA sorting algorithm is an algorithm that puts elements of a list in a certain order. The most-used orders are numeri
2017-02-04 14:06:11 1386
转载 Android业务组件化之URL Scheme使用
转载自:http://www.cnblogs.com/whoislcj/p/5825333.html前言: 最近公司业务发展迅速,单一的项目工程不再适合公司发展需要,所以开始推进公司APP业务组件化,很荣幸自己能够牵头做这件事,经过研究实现组件化的通信方案通过URL Scheme,所以想着现在还是在预研阶段,很有必要先了解一下URL Scheme,看看是如何使用的?其实在之前做
2017-02-04 09:28:09 323
原创 git push项目到github
步骤:1、github上创建与项目同名的repository;2、从github clone项目到本地;3、将clone下来的内容复制到项目根目录;4、 git add ./git commit -m "备注"git push
2017-02-04 08:51:11 626
转载 windows下配置ssh访问github
转载自:http://www.cnblogs.com/fanyong/p/3518176.html一、说明一直使用HTTPS的方式访问github的代码,用的时间长了,发现这是效率很低的一种开发行为,因为每次git push的时候都要输入username和password。今天就介绍如何在windows下配置ssh二、生成RSA KEY$ cd ~/.ssh/A
2017-02-03 22:53:34 386
java汉字转拼音-pinyin4j-2.5.0
2016-10-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人