Skip to content

Commit 5c88088

Browse files
committed
封装LiveDataBus
1 parent e88f6f0 commit 5c88088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/fmt/github/user/fragment/UserReposFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class UserReposFragment : BaseListMVFragment<ReposItemModel>() {
8080
//LiveDataBus实现Android消息总线
8181
private fun initStarEvent() {
8282
LiveDataBus.with<ReposStarEvent>(Constant.STAR_EVENT_KEY)
83-
.observe(this, { reposStarEvent ->
83+
.observe(this, {
8484
onRefresh(mRefreshLayout)
8585
})
8686
}

0 commit comments

Comments
 (0)