I still can't understand why you change your Arrayadapter with object argument, if you want it to hold string items. Try changing new ArrayAdapter(this, R.layout. Rowlayout, list1) to new ArrayAdapter(this, R.layout.
Rowlayout, list1) I used a custom ArrayAdapter, everything worked fine for me. Please let me know if you succeed.
1 Thanks, I'll try it later. But I still think my problem is the ViewPagerAdapter. I found this example: blog.stylingandroid.Com/archives/542 ; but he just shows creating ListViews in code from the same data.
I want to be able to create different pages from different arrays. – explosivo Sep 12 at 18:58 Ohk, Here is what I played with the same example(pager adapter part). Not sure, if this is the best way to do this.
Hope this solve you issues :) Also this is the custom adapter I used. – VenoM Sep 13 at 11:03 @VenomM Thank you very much! This is exactly what I was looking for.
– explosivo Sep 14 at 1:37.
If so, double check the events. Specifically the difference between onCreate,onCreateView & onActivityCreated.
Yes, I'm using the ViewPager from the compatibility jar. I understand how to get it working in my project. What I can't grok is how to get it to display custom listviews using string arrays from strings.xml.
– explosivo Sep 11 at 18:54.
If I don't use the ViewPager, I can get both lists to display their content. Thanks to VenomM for the answer below! Here's the code I ended up using, slightly modified from VenomM's examples.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.