大家都应该使用过QQ吧,他的消息中可以滑动删除功能,我觉得比较有意思,所以模仿写了一个,并且修改了其滑动算法.我先贴几个简单示范图吧其实主要用的是算法以及对ListView的把控.一下是适配器的类package
com.fay.adapter;import java.util.ArrayList;i...
分类:
移动开发 时间:
2014-06-11 22:02:36
阅读次数:
353
转:http://blog.csdn.net/chaoyuan899/article/details/24399761#import
@implementation NSObject (PropertyListing) /* 获取对象的所有属性 */- (NSDictionary
*)pr...
分类:
移动开发 时间:
2014-06-11 21:48:49
阅读次数:
340
theano 入门教程1.3给一个参数设置默认值# -*- coding: utf-8
-*-"""Created on Wed Jun 4 23:22:17 2014@author: wencc"""import theano.tensor as
Tfrom theano import funct...
分类:
其他好文 时间:
2014-06-11 21:47:44
阅读次数:
552
package com.suyang.properties;import
java.io.FileInputStream;import java.io.FileNotFoundException;import
java.io.FileOutputStream;import java.io.IOExc...
分类:
编程语言 时间:
2014-06-11 13:28:09
阅读次数:
419
使用共享变量# -*- coding: utf-8 -*-"""Created on Wed Jun
4 23:28:21 2014@author: wencc"""from theano import sharedfrom theano import
functionimport theano.t...
分类:
其他好文 时间:
2014-06-11 13:26:52
阅读次数:
304
# -*- coding: utf-8 -*-"""Created on Thu Jun 05
17:48:31 2014@author: Administrator"""import theanoimport numpy as npimport
theano.tensor as Tfrom the...
分类:
其他好文 时间:
2014-06-11 12:49:50
阅读次数:
401
android的textview自带跑马灯效果,一般使用足够了。不过也有不一般的情况,所以我实现了一个自定义textview控件,用来针对这种不一般情况下的跑马灯效果实现。import
android.content.Context;import android.util.AttributeSet;...
分类:
移动开发 时间:
2014-06-11 12:39:28
阅读次数:
241
POP动画[1]pop动画是facebook扩展CoreAnimation的,使用及其方便:)1:Spring系列的弹簧效果(两个动画kPOPLayerBounds与kPOPLayerCornerRadius同时运行)#import
"RootViewController.h"#import "YX...
分类:
其他好文 时间:
2014-06-11 12:24:30
阅读次数:
514
1 package cn.itcast.hibernate.sh.state; 2 3 import
org.hibernate.Session; 4 import org.hibernate.Transaction; 5 import
org.junit.Test; 6 7 i...
分类:
编程语言 时间:
2014-06-11 12:23:15
阅读次数:
401
theano 实例, 逻辑回归(logistic regression)# -*-
coding: utf-8 -*-"""Created on Fri Jun 06 08:56:54 2014@author:
Administrator"""import theanoimport numpy as...
分类:
其他好文 时间:
2014-06-11 12:14:52
阅读次数:
922