Why do recipes promote overriding getItemViewType and getViewTypeCount when it doesn't seem necessary?
I've been working through the Commonsware Android Programming Tutorials and in tutorial 5, extra credit 2, the challenge is to use multiple layouts for displaying rows in a ListView depending on the "type name" of the object (a Restaurant's "type" attribute, which is a String). As such, it suggests overriding getItemViewType and getViewTypeCount in a custom ArrayAdapter. In addition, the android docs and other online recipes or blog posts suggest the same. In this situation, following this recipe and overriding those two methods works fine but results in redundant logic based on inspecting the