I have an application that shows vocabulary words and it's examples or explanations for 3 levels of a foreign language. Almost 3500 words of text(no image or sound files) stored in local room database. I present selected language level of words on recyclerview in a fragment also show word detail on a cardview in another fragment.
I am planning to show those fragments side by side on landscape and tablet layouts. And i also plan to set previous and next buttons or use swipe to left or right method on detail activity for showing previous or next word on same cardview.(which means i'll have a query by id method on both cases)
I couldn't decide for passing method of the object between these two activities. Which one is a better approach that passing the object by parcelable or just passing the object "id" and query it by viewmodel from database?
ps. this is my first question after one year use of stackoverflow and english is not mother language. please don't be too hard on me if am wrong at somewhere.