上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 41 下一页
摘要: 使用索引器的目的是为了能够像数组一样访问类中的数组型的对象。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace... 阅读全文
posted @ 2014-05-09 19:40 无忧之路 阅读(136) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace GetSetTest{ class A { ... 阅读全文
posted @ 2014-05-09 17:00 无忧之路 阅读(1198) 评论(0) 推荐(0) 编辑
摘要: 对于学习一门新的语言,关键是学习新语言和以前掌握的语言的区别,但是也不要让以前语言的东西,固定了自己的思维模式,多看一下新的语言的编程思想。1.引包 using System;java用import2.构造函数和java语法相同3.析构函数 变量和类的对象都有生命周期,生命周期结束,这些变量和对象就... 阅读全文
posted @ 2014-05-09 11:05 无忧之路 阅读(1841) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace OverrideTest{ class A {... 阅读全文
posted @ 2014-05-09 10:27 无忧之路 阅读(794) 评论(0) 推荐(0) 编辑
摘要: 本文使用xml来创建上下文菜单 orderInCategory属性为排列顺序MyActivity的布局: MyActivity.javapackage com.example.contextMenuTest;import android.app.Activity;... 阅读全文
posted @ 2014-05-03 11:01 无忧之路 阅读(926) 评论(0) 推荐(0) 编辑
摘要: package com.example.actionBarTest.actionBarList;import android.app.ActionBar;import android.app.Activity;import android.app.Fragment;import android.os... 阅读全文
posted @ 2014-05-02 15:59 无忧之路 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 内容可以左右滑动,因为使用了ViewPager(我这里用了V4包)view_pager_main.xml activitypackage com.example.actionBarTest.actionBarTabViewPager;import android.app.ActionBar;impo... 阅读全文
posted @ 2014-05-02 15:50 无忧之路 阅读(561) 评论(0) 推荐(0) 编辑
摘要: actionBar的tab标签应用以及TabListener的方法详解package com.example.actionBarTest.actionBarTab;import android.app.*;import android.os.Bundle;import com.example.act... 阅读全文
posted @ 2014-05-02 15:38 无忧之路 阅读(1391) 评论(0) 推荐(0) 编辑
摘要: 当某个activity变得“容易”被系统销毁时,该activity的onSaveInstanceState就会被执行,除非该activity是被用户主动销毁的,例如当用户按BACK键的时候。注意上面的双引号,何为“容易”?言下之意就是该activity还没有被销毁,而仅仅是一种可能性。这种可能性有哪... 阅读全文
posted @ 2014-05-02 00:29 无忧之路 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: 3.0(2011年2月)代号蜂巢,专用于android系统的平板电脑,不用于手机。4.0(2011年5月公布)的开发就是让平板电脑和手机能够共用一个版本的系统。4.0通用于平板电脑和手机。 阅读全文
posted @ 2014-04-29 22:57 无忧之路 阅读(187) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 41 下一页
无忧之路