• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. John Foer

    Apps Multiple XML layouts in RecyclerView

    Hi all, I want to use these two XML layout to display my new items. I want the first row to display using h_item.xml and then I want the second row and third row to display using g_item.xml. At the moment I’m only inflating the g_item.xml in my MyRecyclerViewAdapter. How do I inflate the...
  2. John Foer

    Apps getting CursorIndexOutOfBoundsException: Index 0 requested

    I have a test app where a display a list of articles in a listview. When I click one of the items, I want to display the URI and the title of the article. The URI is displaying fine like this (see attached): **But the problem is when I try to display the title I get the...