Room Database using Java | Android Tutorial

Поделиться
HTML-код
  • Опубликовано: 24 фев 2023
  • The Room persistence library provides an abstraction layer over SQLite to allow for more robust database access while harnessing the full power of SQLite.
    Watch the whole video with patience.
    I recommend Android developers upgrade from SQLite to Android Room, to gain the benefits of an offline/online storage application. If you want to learn more , I suggest you visit the official Android developer site.

Комментарии • 12

  • @oleksandr3275
    @oleksandr3275 2 месяца назад

    Thank you very much for your shared experience. It was realy useful 👍

  • @febroeth
    @febroeth Год назад

    thank you for the tutorial!

  • @i2ca1
    @i2ca1 9 месяцев назад +1

    Thanks for the tutorial

  • @sivaram2099
    @sivaram2099 11 месяцев назад

    Bro... Which dependency do I add in gradle file?

  • @emirhansezgin4212
    @emirhansezgin4212 7 месяцев назад +1

    Thanks.

  • @stephanroder1371
    @stephanroder1371 6 месяцев назад +3

    Hi, at 20:02 : "Since all database CRUD should occur in backgroud ..."
    - why should they run in background ? who is telling this ? is "PersonDAO" able to do this without developer specific instructions, isn't it ?🤔

    • @Developer_exc
      @Developer_exc  6 месяцев назад +2

      It can't opeate on main thread thats why. :)

    • @stephanroder1371
      @stephanroder1371 6 месяцев назад +3

      @@Developer_exc thanks for quick response. Here my own answers:
      why should they run in background ? who is telling this ?
      Room library under Android OS was developed not to run queries under UI thread. So it must be in background (or you use allowMainThreadQueries() - not preferred).
      is "PersonDAO" able to do this without developer specific instructions, isn't it ?
      No, this must be implemented into Room library. To run in backgroud try to use "ExecutorService".

  • @yashoberio3461
    @yashoberio3461 Год назад +1

    💥

  • @marshmallow2476
    @marshmallow2476 28 дней назад +1

    Iam surprised developers write code but dont share it due to their personal thinking

    • @Developer_exc
      @Developer_exc  25 дней назад

      github.com/rahulexc/RoomDBApp :D For you buddy!

  • @cirofusco5972
    @cirofusco5972 2 месяца назад +1

    Thanks it's work. compileSdk 33