Share via

Android Emulator & Surface Duo Show Different Data

Nathan Sokalski 4,111 Reputation points
2021-04-25T17:58:05.477+00:00

I have an app that uses RecyclerView(s) to display several lists of numbers. One of the lists is a generated list of integers from 1 to the maximum number items in the other lists. However, here are screenshots from the Android Emulator & Surface Duo Emulator:
91041-screenshot-1619371748.png
91007-screenshot-1619371677.png
Notice that the Surface Duo Emulator only display the numbers 1-9 rather than the generated list. I have confirmed that the correct list of numbers is generated. I also tested it on a physical Surface Duo, but the same problem occurs. Why is the Surface Duo displaying 1-9 rather than the generated list? Displaying a list of integers seems like it should be pretty basic, but it seems even stranger that it is different on two devices (or 3 if you include the physical Surface Duo), which implies to me that it has something to do with the device rather than my code. Is this a known bug? Is there really something I need to do differently for this? Both emulators are Android 10.0 API 29. Any help would be appreciated. Thanks.

Developer technologies | .NET | Xamarin

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.