自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

PhxNirvana

Start of Something New

  • 博客(7)
  • 资源 (1)
  • 收藏
  • 关注

原创 ViewPager实现加载网络图片,动态添加删除效果

本例实现从网络加载图片,动态添加删除ViewPager中页面,图片缓存功能。 直接上代码,重点都写注释里了。 记得权限加网络连接。 懒得上图。 import android.app.Activity; import android.graphics.Bitmap; import android.os.Bundle; import android.support.v4.view.PagerA

2015-09-16 09:54:23 884

原创 7月学习总结

一、数字跳动的两种实现方式 1.仿手机支付宝余额宝跳动方式 仿余额宝数字跳动是通过ValueAnimator实现的 ValueAnimator提供可以随时间变化的数值 private void run(int endNumber){ final int length = (endNumber + "").length(); ValueAnimator valueAnimat

2015-07-31 16:06:47 390

原创 关于跨域的二三事

首先说一下开发环境,服务器是IIS8,客户端应该是WebKit内核的浏览器,通过WebService通信。 简单说来,跨域问题是a.com访问b.com时出现的,为保证访问服务器的安全,阻止不同域名间对资源的请求(大概是这样吧)。因为客户端是基于本地HTML页面的,因此需要解决跨域问题才可以与服务器通信。 当跨域问题出现时,服务器一般会返回一个405错误,同时在控制台还可以看到一串英文

2015-04-17 23:39:57 1637

原创 LeetCode:Same Tree && Reverse Integer

问题描述: 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 and the nodes have the same value.

2014-09-12 22:48:19 481

原创 LeetCode:Maximum Depth of Binary Tree

问题描述: 求二叉树的深度 递归

2014-09-12 22:29:22 521

原创 LeetCode:Single Number

Discription Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it

2014-09-12 14:36:00 583

原创 Unity3D使用SqliteKit连接Sqlite数据库并在Android设备上读取简明教程

首先,导入SqliteKit插件(请读者自己寻找) 导入之后会出现如图所示错误框 这里多方查找都找不到原因,后来根据作者在官方商城的回复 可知删掉PlayMakerIntegration即可 运行Demo 在这里我们需要使用的连接数据库的方法是是右上角的从streamingAssets复制数据库文件到persistentDataPath方法,读者有兴趣可以自行探索其他方法。

2014-04-15 11:47:48 2804

监听软键盘弹出改变布局demo

监听软键盘弹出改变布局demo

2016-03-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除