Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Article content empty in phones. #4

Open
Armandorev opened this issue Nov 14, 2013 · 2 comments
Open

Article content empty in phones. #4

Armandorev opened this issue Nov 14, 2013 · 2 comments

Comments

@Armandorev
Copy link

I've used this code, fixed the 15 articles limit SAXException, updated it to work with Wordpress rss and with dc:creator label,It works perfect on tablets, showing article list and article content when I click in one article on the list, but when I test in on an emulated phone, the list shows ok, but when I click on an item, the detail fragment appears empty. I know the fragment is loaded , cause I added some plain text to the layout and that text is showed well.

I've found that the displayedarticle variable is null and thats why the article detail is not viewed, but when in tablets displayedarticle is not null.

@uint16
Copy link

uint16 commented Feb 28, 2014

Armandorev, did you find the solution to the stated problem?

@Armandorev
Copy link
Author

I was not coding the arguments in both FragmentActivity and Fragment the same way, so it only worked in one of them. Check the arguments in the FragmentActivity of the list.
it worked from then in a couple of RSS apps i've made. You can debug your app step by step or use the allways nice solution of printing lines in console to check where your app is going, for example you could print a debug line on the creation of each fragment or activity class to see with one and where are being created and see if you misses something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants