How to get insert id when using Android Room Insert AsyncTask?

前端 未结 0 491
伪装坚强ぢ
伪装坚强ぢ 2021-01-03 12:43

how can I read insertId in the activity? Activity:

private void saveNewCode() {
    mCodeRepository.insertCodeTask(mInitialCode);
}

in Reposi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题