Proto DataStore - Persist Typed Objects with Protocol Buffers | Android Studio Tutorial

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

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

  • @haykmkrtchyan7093
    @haykmkrtchyan7093 6 месяцев назад

    So by accident I created that proto directory inside the "src/main/java" folder and couldn't figure out why my build files were not generated after building the project 😅 Thanks for the tutorial :)

  • @Indently
    @Indently 4 года назад +1

    I'm so ready

  • @anudeepananth
    @anudeepananth 3 года назад +2

    This seems to be a bit complex way of storing objects to local storage especially given that ROOM and the preferences data store are so easy to work with but the results are worth it since it perfectly with coroutines, Refactoring all of my object storages to this library...

  • @DerCheckerzeigts
    @DerCheckerzeigts 3 года назад +4

    Do I have to create multiple proto files to have multiple entities? Or can I use the same proto file to create multiple entities?

  • @shohruhpulatov8616
    @shohruhpulatov8616 3 года назад +1

    Thanks, it helped me to refactor my project!

  • @MOHSINALI-lf1zy
    @MOHSINALI-lf1zy 3 года назад +2

    Hi
    can you please show how to store a json object in proto datastore?
    that would be really helpfull
    thanks

  • @mohammadazrikhairuddin8753
    @mohammadazrikhairuddin8753 3 года назад

    So everytime I want to store another model, I have to create another serializer class for it?

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

    I need to implement grpc for android/kotlin gradle project. but find it too complicated. so far little results :(

  • @shohruhpulatov8616
    @shohruhpulatov8616 3 года назад

    What if Use gradle implementation of Pereference DataStore in Proto DataStore? I have tried to do so and It is working now.
    I wanted to use both preference and proto DataSore and while trying it I got error for using gradle implementation of both DataStores, and I left only preference DataStore gradle impl. and it is working. Is It ok? What U think?

  • @anudeepananth
    @anudeepananth 3 года назад

    How do we add support for objects with nullable variables? I am getting an error for nullable variables is my objects...

  • @alaskim3956
    @alaskim3956 4 года назад

    OMG thanks for sharing this with us

  • @krishnamandava9919
    @krishnamandava9919 4 года назад

    What is need and use of life cycle dependencies in this project?

  • @toge7101
    @toge7101 4 года назад

    Thanks this is awesome!

  • @AdamMarchel123
    @AdamMarchel123 3 года назад

    override val defaultValue: Person
    get() = TODO("Not yet implemented")
    what is that means??

  • @zzzofu817
    @zzzofu817 3 года назад

    How to config protobuf use kotlindsl?

  • @behrouzalborzi1488
    @behrouzalborzi1488 3 года назад

    perfect content ....

  • @muhammadsarimmehdi
    @muhammadsarimmehdi 2 года назад

    both parseFrom and writeTo give this warning: Inappropriate blocking method call

  • @missaklefa7692
    @missaklefa7692 4 года назад

    The links for the free course you given are note for free so it Will be possible to get

  • @slayer5171
    @slayer5171 3 года назад

    How to save List of Object to protobuffer?

  • @taphoavuinhon1996
    @taphoavuinhon1996 3 года назад

    where createDataStore?

  • @nickshv8727
    @nickshv8727 2 года назад

    Comparing to swift's UserDefaults - this is a total mess :)

  • @claudettegivens9039
    @claudettegivens9039 2 года назад

    Omg, he didn't stop and breathe during the entire video. Non stop talking.