'i was trying to add data in room db but not able to add more than 50 rows

I was trying to add some data in room database android. but while adding there is only 50 rows are visible or entered in db. there is no more data is able to add in db. I also check my logs but there is no error or exception. I print each data in the log it is visible in the log but not available in db. there are no limits while creating room db I have put. please help me if anyone know what went wrong



Solution 1:[1]

You may have already solved this but in case not, the entries in your table are displayed in pages, and 50 is the maximum number of entries displayed per page. If you look at the bottom right hand corner of the database inspector window, you'll see controls for advancing onto the next page where you should see your additional entries past 50.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 James Whelan