
版本
qq_21727627
一个苦逼的又爱装逼的程序员
展开
-
RecyclerView 第一个item 无动画
1.前提 引用com.android.support:recyclerview-v7:27.1.1,setAdapter后还没有回调onLayout,就添加数据然后调 用adapter.notifyItemInserted(xx)方法2.原因 在setAdapter 多出了: void processDataSetCompletelyChanged(boolean dispatchItemsChanged) { mDispatchItemsChangedEvent |=...原创 2020-09-15 15:51:32 · 402 阅读 · 0 评论 -
git命令
解除远程库关联git remote remove origin添加 远程库关联 git remote add origin git@github.com/xxxx.git第一次推送 git push -u origin master 关联 本地仓库和推送内容 第二次 git push origin master克隆 git clone git@github.com:名字/仓库原创 2017-04-03 13:30:41 · 334 阅读 · 0 评论