Activity.runOnUiThread(Runnable)·View.post(Runnable)·View.postDelayed(Runnable,
long)·Handler
分类:
编程语言 时间:
2014-05-21 19:37:55
阅读次数:
285
asp.net MVC4.0中总结 视图里加载部分视图几种方法@RenderPage()但它不能使用
原来视图的 Model 和 ViewData ,只能通过参数来传递。1
@RenderPage("~/Shared/Component/Dialog.cshtml", new { title = "...
分类:
Web程序 时间:
2014-05-21 17:47:46
阅读次数:
380
41.UIApplication和delegate42.UIPickerView43.UIDatePicker44.程序启动的完整过程45.UIApplicationMain46.UIWindow47.如何创建一个控制器48.控制器view的延迟加载49.多控制器50.UINavigationCon...
分类:
移动开发 时间:
2014-05-21 17:44:38
阅读次数:
327
介绍一个grid layout 顺序显示的代码
LayoutAnimation1.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th...
分类:
其他好文 时间:
2014-05-21 16:58:47
阅读次数:
214
Django的基础知识,包含urls,view和form。已经model的建立。实际的代码案例...
分类:
编程语言 时间:
2014-05-21 15:08:40
阅读次数:
321
描述list layout item有上倒下依次显示的代码实现形式
LayoutAnimation2.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may no...
分类:
其他好文 时间:
2014-05-21 09:02:15
阅读次数:
250
源码地址:点击打开链接
Android-Universal-Image-Loader的广泛使用,我们有必要好好研究下他,对于我们使用,和进步都有很多的帮助,
从架构图上看,该项目分为五大部分。
1、Displayer,显示图片模块。这部分主要作用显示图片的,包括好几种显示图片的方式,如切边显示图片等。
通过调用display(Bitmap bitmap, ImageAware ...
分类:
移动开发 时间:
2014-05-21 08:48:44
阅读次数:
361
介绍list item倒序显示
LayoutAnimation3.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e...
分类:
其他好文 时间:
2014-05-21 08:25:44
阅读次数:
278
【题目】
有很多无序的数,从中找出最大的K个数。假定他们都不相等。
【解法一】
如果数据不是很多,例如在几千个左右,我们可以排一下序,从中找出最大的K个数。排序可以选择快速排序或者堆排序
[cpp] view
plaincopy
#include
#include
int cmp(const void *a,const ...
分类:
其他好文 时间:
2014-05-21 07:30:07
阅读次数:
234
大数相加
[cpp] view
plaincopy
#include
#include
char a[10001],b[10001],sum[10002];
int BigIntegerAdd(){
//两个数的长度
int lena = strlen(a);
int l...
分类:
其他好文 时间:
2014-05-21 06:32:32
阅读次数:
361