I would extract the content of the xml as follows: post = this. ResponseXML; feed = { picture: post. GetElementsByTag('TagNameOfImage'), text: post.
GetElementsByTag('TagNameOfText') } then I would use a label for the text var label = Ti.UI. CreateLabel({ text: feed. Text }); yourRow.
Add(label) and a imageView for the picture: var iv = Ti.UI. CreateImageView({ image: feed. Picture }); yourRow.
Add(iv) hope I could help you.
I would extract the content of the xml as follows: post = this. ResponseXML; feed = { picture: post. GetElementsByTag('TagNameOfImage'), text: post.
GetElementsByTag('TagNameOfText') }; then I would use a label for the text var label = Ti.UI. CreateLabel({ text: feed. Text }); yourRow.
Add(label); and a imageView for the picture: var iv = Ti.UI. CreateImageView({ image: feed. Picture }); yourRow.
Add(iv); hope I could help you.
Putting webviews in a table row is a recipe for disaster. You need to just add each element to the row view and do the appropriate layout. Take a look here if you are on iOS corrections to "Using TableViews" from appcelerator wiki to make it work on iOS or here if on Android.
The posts themselves contain text with interspersed images and video links. Now I can parse (using regex) all the links without a problem. MY question is what is the best way to display this to the user?
Right now I created a tableview and have each row in the table view display a post. It looks great but the images don't display, they are just raw links to an image URL. Someone suggested to try a webview, and I placed the webview inside of the tableviewrow, but im getting mixed results as for some reason all the webviews (about 20 tableviewrows/webviews) overrun and overlap each other.
Is there a better strategy to display this data in an organized top down way?
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.