Not presently. I'll look to add that support someday via a callback. Right now, what you can do is subclass SQLiteCursorLoader
and override insert()
, supplying your own clone of InsertTask
that holds onto the row ID and does something with it, perhaps from onPostExecute()
.
cwac-loaderex: How to get inserted row ID?
-
26-06-2022 - |
문제
When using the insert()
method of the SQLiteCursorLoader
class, is there a way to get the row ID that was returned as a result of the insert?
해결책
제휴하지 않습니다 StackOverflow