上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 30 下一页
摘要: Class OverviewA client may implement this interface to receive information about changes to the surface. When used with aSurfaceView, the Surface bein... 阅读全文
posted @ 2015-08-21 20:48 Rosanne 阅读(400) 评论(0) 推荐(0) 编辑
摘要: Description:Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals we... 阅读全文
posted @ 2015-08-21 16:30 Rosanne 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Description:Sort a linked list using insertion sort.Code: ListNode* insertionSortList(ListNode* head) { if (head == NULL) return NUL... 阅读全文
posted @ 2015-08-21 16:28 Rosanne 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Description:Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18].Co... 阅读全文
posted @ 2015-08-21 13:46 Rosanne 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Description:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and i... 阅读全文
posted @ 2015-08-21 08:59 Rosanne 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 一.新建一个工程“LearnSurfaceView”二.新建一个类“MySurfaceView”public class MySurfaceView extends SurfaceView implements SurfaceHolder.Callback { private Paint pa... 阅读全文
posted @ 2015-08-21 08:29 Rosanne 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Class OverviewAn activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes c... 阅读全文
posted @ 2015-08-15 17:56 Rosanne 阅读(461) 评论(0) 推荐(0) 编辑
摘要: ListFragmenthttp://developer.android.com/reference/android/app/ListFragment.htmlextendsFragmentClass OverviewA fragment that displays a list of items ... 阅读全文
posted @ 2015-08-15 17:29 Rosanne 阅读(150) 评论(0) 推荐(0) 编辑
摘要: http://developer.android.com/guide/components/fragments.html#DesignContentDesign PhilosophyCreating a FragmentAdding a user interfaceAdding a fragment... 阅读全文
posted @ 2015-08-15 11:48 Rosanne 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 问题:在xml文件中设置的中文能正确输出,但是在java文件中设置的中文会在模拟器上呈现乱码解决方案:在build.gradle文件中添加一行代码 android {compileOptions.encoding = "GBK"} 阅读全文
posted @ 2015-08-10 10:37 Rosanne 阅读(402) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 30 下一页