I\'m trying to render data in an Android app based on the object provided to the Activity. There are 3 types of objects, but two of them have to be treated exactly the same