Skip to content Skip to sidebar Skip to footer

Android: Item Text Not Showing In Listview

I've been trying for a long time, and I think I have the code in place, but something is wrong because the item is not being added to the listView. Follows my code: public class Ed

Solution 1:

I was using the Data Binding example from the book Hello Android by Ed Burnette (great book).

I changed the item layout from A RelativeLayout to a LinearLayout; however, I did not add an orientation when I made the change.

Once I added android:orientation="vertical" everything worked fine.

Two hours of my life on this one.

Post a Comment for "Android: Item Text Not Showing In Listview"