ヌガー対応 potatotios #33

29
ヌガー potatotips #33 2017/09/28 Hiroshi Hashimoto

Upload: hiroshi-hashimoto

Post on 22-Jan-2017

76 views

Category:

Mobile


1 download

TRANSCRIPT

Page 1: ヌガー対応 Potatotios #33

ヌガーpotatotips #33

2017/09/28

Hiroshi Hashimoto

Page 2: ヌガー対応 Potatotios #33

自己

Android Developer

Twitter : @hi6484

Page 3: ヌガー対応 Potatotios #33
Page 4: ヌガー対応 Potatotios #33
Page 5: ヌガー対応 Potatotios #33
Page 6: ヌガー対応 Potatotios #33
Page 7: ヌガー対応 Potatotios #33
Page 8: ヌガー対応 Potatotios #33
Page 9: ヌガー対応 Potatotios #33
Page 10: ヌガー対応 Potatotios #33
Page 11: ヌガー対応 Potatotios #33
Page 12: ヌガー対応 Potatotios #33
Page 13: ヌガー対応 Potatotios #33
Page 14: ヌガー対応 Potatotios #33
Page 15: ヌガー対応 Potatotios #33

W/RecyclerView: Cannot call this method in a scroll callback. Scroll callbacks might be run during a measure & layout pass where you cannot change the RecyclerView data. Any method call that might change the structure of the RecyclerView or the adapter contents should be postponed to the next frame. java.lang.IllegalStateException: at android.support.v7.widget.RecyclerView.assertNotInLayoutOrScroll(RecyclerView.java:2403) at android.support.v7.widget.RecyclerView$RecyclerViewDataObserver.onItemRangeInserted(RecyclerView.java:4634) at android.support.v7.widget.RecyclerView$AdapterDataObservable.notifyItemRangeInserted(RecyclerView.java:10472) at android.support.v7.widget.RecyclerView$Adapter.notifyItemInserted(RecyclerView.java:6214)

Page 16: ヌガー対応 Potatotios #33
Page 17: ヌガー対応 Potatotios #33

handler.post(new Runnable()) { @Override public void run() { notifyItemInserted(getItemCount()); } });

Page 18: ヌガー対応 Potatotios #33
Page 19: ヌガー対応 Potatotios #33
Page 20: ヌガー対応 Potatotios #33

new AlertDialog.Builder( Activity.this, R.style.AlertDialogStyle)

Page 21: ヌガー対応 Potatotios #33
Page 22: ヌガー対応 Potatotios #33
Page 23: ヌガー対応 Potatotios #33
Page 24: ヌガー対応 Potatotios #33
Page 25: ヌガー対応 Potatotios #33
Page 26: ヌガー対応 Potatotios #33
Page 27: ヌガー対応 Potatotios #33
Page 28: ヌガー対応 Potatotios #33
Page 29: ヌガー対応 Potatotios #33