以上就介绍了比SwipeRefreshLayout更漂亮和强大的下拉刷新控件:Android-MaterialRefreshLayout 1.xml 2.Java 3、参考网站 https://github.com/android-cjj/Android-MaterialRefreshLayout/ ...
分类:
其他好文 时间:
2016-11-06 01:56:48
阅读次数:
218
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). (Eas ...
分类:
其他好文 时间:
2016-11-05 17:39:10
阅读次数:
183
自定义ListView: 1 package com.yuanlei.my.listviewrefresh.view; 2 3 import android.content.Context; 4 import android.util.AttributeSet; 5 import android.u ...
分类:
其他好文 时间:
2016-11-05 17:31:13
阅读次数:
243
Unity的动态加载简单使用Unity可以快速,轻量化的实现IOC,不用自已写类似反射代码来动态加载类或dll了使用Unity先要用nuget获取相关引用文件Unity可通过代码或config文件来配置要加动态加载的内容 使用示例 使用代码配置加载项 使用Config配置加载项 ...
分类:
编程语言 时间:
2016-11-05 11:57:46
阅读次数:
161
Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical a ...
分类:
其他好文 时间:
2016-11-05 02:21:42
阅读次数:
168
https://leetcode.com/problems/sort-characters-by-frequency/ 用了Jave Map.Entry这个数据结构,还用到了自定义的Comparator。 ...
分类:
其他好文 时间:
2016-11-04 23:38:30
阅读次数:
274
package gui1; import java.awt.Container; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import j ...
#pragma mark - 绘图的几种方式 #pragma mark - 绘图第三种方式 1.#pragma mark - 最原始的绘图方式 - (void)drawLine { // 1.获取图形上下文 // 目前我们所用的上下文都是以UIGraphics // CGContextRef Ref ...
分类:
其他好文 时间:
2016-11-04 14:14:08
阅读次数:
196
昨天写到构造炮弹,有点小bug不知道大家发现没有,今天继续昨天的步骤 7》构造炮弹 思路和前面都是一样一样的 注意构造函数中需要考虑的属性 和 构造函数的原型上面的方法 8》设置炮弹的显示范围 在炮弹跑出屏幕的时候,将画出的炮弹在炮弹的数组中删除 昨天的小bug,旋转的时候角度的调试不对,是在写炮弹 ...
分类:
Web程序 时间:
2016-11-04 07:40:00
阅读次数:
271