This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Android and the fly likes ArrayList says false in emulator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "ArrayList says false in emulator" Watch "ArrayList says false in emulator" New topic
Author

ArrayList says false in emulator

Tom Mordon
Ranch Hand

Joined: Apr 26, 2012
Posts: 30
My application works, but the ArrayList says false in the list as it loads up. But when I add to the list it adds the strings to the list and the false disappears. What can I do to make the ArrayList not show anything just to be blank? Additionally a TextView shows false also in the dialog box. Are the problems related? Any thoughts?




string.xml



main.xml



add.xml
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Its time for debugging. try debug your code with IDE.
specially this line? is it returning a expected results?


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ArrayList says false in emulator
 
Similar Threads
regarding layout
when i change android:orientation to horizontal it shows blank screen
list view problem
Layouts, bottom position
how to add a scrollbar to a view