码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
各种加载和圆形进度的效果
最近APP的progress的加载效果要修改,要做仿IOS的颜色渐变的效果,一开始做了12张依次旋转的图放到animation-list来实现帧动画,实现后效果不是很流畅。后来想到把一张loading图放到ImageView里,然后ImageView再启动旋转的动画,实现后效果很不错,anim文件: <rotate android:fromDegrees=...
分类:其他好文   时间:2014-12-05 00:49:36    阅读次数:215
Remove Duplicates from Sorted List
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/41728739 Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1->1->2->3->3, return 1->2->3. 思路: (1...
分类:其他好文   时间:2014-12-04 21:44:57    阅读次数:185
SPICE协议------主通道交互定义
1  主通道协议定义1.1服务器—》客户端enum { SPICE_MSG_MAIN_MIGRATE_BEGIN = 101, SPICE_MSG_MAIN_MIGRATE_CANCEL, SPICE_MSG_MAIN_INIT, SPICE_MSG_MAIN_CHANNELS_LIST, SPICE_MSG_MAIN_MOUSE_MODE, SPI...
分类:其他好文   时间:2014-12-04 21:42:28    阅读次数:266
解析XML的两种方式 javax | dom4j
package xml; import java.io.IOException; import java.io.StringReader; import java.util.HashMap; import java.util.List; import java.util.Map; import org.dom4j.DocumentException; public class Test { ...
分类:编程语言   时间:2014-12-04 20:01:50    阅读次数:276
LeetCode: Partition List 解题报告
Partition List Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should...
分类:其他好文   时间:2014-12-04 19:57:46    阅读次数:204
thinkphp3.1 分页 注释
有id、标题、内容、创建时间有创建时间、标题、(分页)(分页)={$page}= $count = $Form->count(); //计算总数 $Page = new Page($count, 5); $list = $Form->limit($Page->...
分类:Web程序   时间:2014-12-04 19:57:04    阅读次数:245
BAPI list
【转自】BAPI WGComponentFunction module nameDescriptionDescriptionObj. TypeObject nameMethod nameReleaseMessage type1RWTRBAPI_SECURITYPRICE_GETDETAILSecur...
分类:Windows程序   时间:2014-12-04 19:51:42    阅读次数:675
perl利用DNSPOD API获取域名的各个地区的解析
#!/usr/bin/perl usestrict; usewarnings; useLWP::UserAgent; useJSON; useEncode; my$mail=‘user‘; my$pass=‘pass‘; my$domain_info_url=‘https://dnsapi.cn/Domain.Info‘; my$record_list_url=‘https://dnsapi.cn/Record.List‘; subget_domain_id{ ###获取数据 my($doma..
分类:Windows程序   时间:2014-12-04 18:17:25    阅读次数:261
Android开发日志4——如何解决no CPU/ABI system image available for this target
真是个马大哈呀 问题如下: No system images installed for this target " title="解决CPU/ABI No system images installed for this target " style="margin:0px; padding:0px; border:0px; list-style:none"> 1、在Tools...
分类:移动开发   时间:2014-12-04 18:02:20    阅读次数:664
Python学习笔记1204
BattleShip,这两个是新接触到的1)生成a,b之间的随机数:1 from random import randint2 randint(a,b)2)去掉list中的引号和逗号1 def print_board(board):2 for row in board:3 p...
分类:编程语言   时间:2014-12-04 17:41:47    阅读次数:212
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!