Skip to content

Commit

Permalink
Bug修复: 修复Bugly异常
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyy committed Jan 23, 2025
1 parent 1e4c390 commit 9507177
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,13 @@ class BaseAdapter : AnimatedAdapter<RecyclerView.ViewHolder>() {
super.setData(data)

if (diffCreator != null) {
setDiffData(data, diffCreator!!)
// [Bugly] #2529539
// TODO: 临时的解决方案,需要复现与排查
try {
setDiffData(data, diffCreator!!)
} catch (e: Exception) {
setNotifyData(data)
}
} else {
setNotifyData(data)
}
Expand Down

0 comments on commit 9507177

Please sign in to comment.