04 2015 档案

摘要:strong。weak,copy的详解对象使用strong,ui控件使用weak,字符串用copy现在使用ARC,ARC判断准则:只要没有强指针指向对象中,找个对象就会被销毁。1. Strong/weak默认情况下下是强指针 Person *person = [[Person alloc] init... 阅读全文
posted @ 2015-04-28 17:17 pandans 阅读(206) 评论(0) 推荐(0)
摘要:现在很多公司移动产品迭代太快,测试出的一些bug无法及时得到纪录。使用该bug管理工具方便开发人员和测试人员提高工作效率。地址:https://www.atlassian.com/software/jira 阅读全文
posted @ 2015-04-27 12:50 pandans 阅读(1660) 评论(0) 推荐(0)
摘要:1. android 5.0 及以上 setColorFilter(null) clear colorfilter 无效,造成tab中颜色无法修改 5.0以下正常。模拟器测试。。 真机还木有5.02. 使用cursor及cursoradapter 动态刷新数据流程本博的cursor notif... 阅读全文
posted @ 2015-04-15 00:53 pandans 阅读(145) 评论(0) 推荐(0)
摘要:"^(?!((^[1-9]\\d{5}[0-1]\\d{3}[0-1]\\d[0-3]\\d{4}(\\d|x)$)|(?!(\\w{4,}))))"可为4个以上数字"^(?!((^[1-9]\\d{5}[0-1]\\d{3}[0-1]\\d[0-3]\\d{4}(\\d|x)$)|(?!(\\w{... 阅读全文
posted @ 2015-04-14 12:21 pandans 阅读(172) 评论(0) 推荐(0)
摘要:转帖地址:http://www.androiddevtools.cn/AndroidDevTools简介Android Dev Tools官网地址:www.androiddevtools.cn收集整理Android开发所需的Android SDK、开发中用到的工具、Android开发教程、Andro... 阅读全文
posted @ 2015-04-14 10:02 pandans 阅读(1644) 评论(0) 推荐(0)
摘要:正常情况: // mTxtView.setTextAppearance(context, // R.attr.textapper);-------在lib工程中使用如上无效,解决如下-----------// Resources.Theme theme = getContext().getTheme... 阅读全文
posted @ 2015-04-07 16:58 pandans 阅读(185) 评论(0) 推荐(0)
摘要:/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil... 阅读全文
posted @ 2015-04-01 22:59 pandans 阅读(279) 评论(0) 推荐(0)