- 博客(4)
- 收藏
- 关注
原创 sqllite的事务和锁的完美的解释。及在android中应用
https://www.cnblogs.com/senior-engineer/p/7112606.html?utm_source=itdadao&utm_medium=referral 制】多线程操作写入数据库时,需要使用事务,以免出现同步问题。 说明: 通过 SQLiteOpenHelper 获取数据库 SQLiteDatabase 实例,Helper 中会自动缓存 ...
2018-07-20 10:17:11
744
原创 android sqlite的事务
* There are two kinds of transaction: implicit transactions and explicit * transactions. * </p><p> * An implicit transaction is created whenever a database operation is requested * and the...
2018-07-16 13:38:19
251
原创 Drawable为什么需要setCallback
因为也是需要从Drawable端setBounds之类 ,导致绘画; 而drawable的绘画是必须依赖于View实现的(一般在view中实现callback)。So.
2018-07-11 15:10:04
1097
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人