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 :)
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...
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?
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 :)
I'm so ready
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...
Do I have to create multiple proto files to have multiple entities? Or can I use the same proto file to create multiple entities?
It's your call, whatever you prefer.
Thanks, it helped me to refactor my project!
Hi
can you please show how to store a json object in proto datastore?
that would be really helpfull
thanks
So everytime I want to store another model, I have to create another serializer class for it?
I need to implement grpc for android/kotlin gradle project. but find it too complicated. so far little results :(
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?
How do we add support for objects with nullable variables? I am getting an error for nullable variables is my objects...
OMG thanks for sharing this with us
What is need and use of life cycle dependencies in this project?
Thanks this is awesome!
override val defaultValue: Person
get() = TODO("Not yet implemented")
what is that means??
Use Product.getDefaultInstance()
How to config protobuf use kotlindsl?
perfect content ....
both parseFrom and writeTo give this warning: Inappropriate blocking method call
The links for the free course you given are note for free so it Will be possible to get
How to save List of Object to protobuffer?
where createDataStore?
Comparing to swift's UserDefaults - this is a total mess :)
Omg, he didn't stop and breathe during the entire video. Non stop talking.