Skip to content

既読管理をEventBusを使って実装してみる - #16

Open
sasata299 wants to merge 1 commit into
masterfrom
eventbus_for_listview
Open

既読管理をEventBusを使って実装してみる#16
sasata299 wants to merge 1 commit into
masterfrom
eventbus_for_listview

Conversation

@sasata299

Copy link
Copy Markdown
Owner

データは更新されてるっぽいんだけど画面の表示が変わらない… 😢

  1. ScoreReportFragment.java のpostExecute内でlistviewのclickイベントリスナーを設定。そこから scoreReport.click(); を呼んでる
  2. scoreReport.click() ではイベント発火しつつ、isReadをtrueにセット
  3. ScoreReportFragment.java でsubscribeして、myAdaper.notifyDataSetChanged() を呼ぶ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant