摘要: 题目来自LeetCode OJFor example, this binary tree is symmetric: 1 / \ 2 2 / \ / \3 4 4 3But the following is not: 1 / \ 2 2 \ \ 3 ... 阅读全文
posted @ 2014-10-22 23:46 YanKwan 阅读(99) 评论(0) 推荐(0) 编辑
摘要: ListView 是Android中最常用的视图列表,要将获得的数据显示在ListView中,需要借助于数据适配器来完成。其中最常用的适配器为 ArrayAdapter 和 SimpleAdapter。可以说适配器是连接数据源和视图界面的桥梁ArrayAdapter 常用于数组数据,绑定的数据格式比... 阅读全文
posted @ 2014-10-22 22:03 YanKwan 阅读(716) 评论(0) 推荐(0) 编辑