摘要: 其实很简单,在适配器里面重写isChildSelectable的时候返回值切记为true,这样才能使得二级监听有响应。 其次注意继承的是BaseExpandableListAdapter 阅读全文
posted @ 2016-11-30 15:14 星辰之力 阅读(826) 评论(0) 推荐(0)
摘要: 转载请注明出处:http://blog.csdn.net/crazy1235/article/details/53386286 SnapHelper 是 Android Support Library reversion 24.2.0 新增加的API。 SnapHelper 的应用 SnapHelp 阅读全文
posted @ 2016-11-30 13:53 星辰之力 阅读(7490) 评论(0) 推荐(0)
摘要: String str = "1234567"; if(str.indexOf("23") != -1) { System.out.println("包含该字符串"); } 阅读全文
posted @ 2016-11-30 10:52 星辰之力 阅读(38048) 评论(0) 推荐(0)
摘要: String 类代表字符串。Java 程序中的所有字符串字面值(如 "abc" )都作为此类的实例来实现。(这个没啥了解的吧,经常用 class)public interface CharSequence { public int length(); public char charAt(int i 阅读全文
posted @ 2016-11-30 10:50 星辰之力 阅读(1123) 评论(0) 推荐(0)