Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCheen committed Dec 30, 2022
1 parent 98abd62 commit 9d398c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flap/src/main/java/me/yifeiyuan/flap/Flap.kt
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class Flap : FlapApi {
bindingContext = recyclerView.context

if (bindingContext is Activity) {
activityContext = bindingContext
activityContext = bindingContext as Activity
}

//当没设置 lifecycleOwner 尝试获取 context 作为 LifecycleOwner
Expand Down

0 comments on commit 9d398c8

Please sign in to comment.