<Insert,delete operations always successful but re...
# stackoverflow
r
Insert,delete operations always successful but returns -1,0 values sometimes if (!listedeBulundu) { Log.e("tag","Yerleştirme bloğuna girildi") CoroutineScope(Dispatchers.IO).launch { val dbInsertDeferred = async(Dispatchers.IO) { viewModel.roomRepository.VeritabaninaYerlestir(scp) } val dbInsert = dbInsertDeferred.await() Log.e("tag",dbInsert.toString()) if (dbInsert != -1L) { viewModel.roomRepository.VeritabanindanGetir() yazdir()...