完成搜索默认页面

This commit is contained in:
kehaoyuan
2019-06-13 15:21:53 +08:00
parent 129a549110
commit 596e2e9673
15 changed files with 421 additions and 259 deletions

View File

@ -6,6 +6,7 @@ import android.content.Intent
import android.os.Parcelable
import com.gh.common.annotation.Synchronize
import com.gh.common.util.SyncDataBetweenPageHelper.resultHandle
import com.gh.common.util.SyncDataBetweenPageHelper.startActivityForResult
import com.gh.gamecenter.entity.RatingComment
import com.gh.gamecenter.gamedetail.rating.RatingAdapter
import com.gh.gamecenter.gamedetail.rating.RatingReplyActivity
@ -14,6 +15,7 @@ import com.gh.gamecenter.gamedetail.rating.RatingReplyActivity
* 页面之间实现数据同步
* 需要同步的数据,在相应的字段加上[Synchronize]注解,关键方法[resultHandle]
* 如无特殊情况,尽量使用下面方法进行页面联动
* 注意: [startActivityForResult] intent的数据实体key必须是Class的SimpleName
* ----------------------------------------------------------------
* 具体参考(游戏详情:评论列表<-->评论详情):
* 数据实体=>[RatingComment]