We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ce09a commit 5fe3111Copy full SHA for 5fe3111
app/src/main/kotlin/com/rayfantasy/icode/ui/activity/ReplyActivity.kt
@@ -89,7 +89,7 @@ class ReplyActivity : ActivityBase() {
89
90
//生成加载条件,目前加载5个,方便测试
91
92
- val condition = "WHERE ${if (!refresh && adapter.replyList.isNotEmpty()) "createat < ${adapter.replyList.last().createAt} " else ""}good_id=$id " +
+ val condition = "WHERE ${if (!refresh && adapter.replyList.isNotEmpty()) "createat < ${adapter.replyList.last().createAt} AND " else ""}good_id=$id " +
93
"ORDER BY createat DESC LIMIT 0, $LOAD_ONCE"
94
request = PostUtil.findReply(condition, {
95
reply_swip.isRefreshing = false
0 commit comments