<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How-To: Android Fragments	</title>
	<atom:link href="http://wiebe-elsinga.com/blog/android-fragment/feed/" rel="self" type="application/rss+xml" />
	<link>http://wiebe-elsinga.com/blog/android-fragment/</link>
	<description>Blog</description>
	<lastBuildDate>Fri, 25 May 2012 06:21:16 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8</generator>
	<item>
		<title>
		By: sandy		</title>
		<link>http://wiebe-elsinga.com/blog/android-fragment/comment-page-1/#comment-22168</link>

		<dc:creator><![CDATA[sandy]]></dc:creator>
		<pubDate>Fri, 25 May 2012 06:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://wiebe-elsinga.com/blog/?p=578#comment-22168</guid>

					<description><![CDATA[thanx nice example of fragment :)
keep posting !!!]]></description>
			<content:encoded><![CDATA[<p>thanx nice example of fragment 🙂<br />
keep posting !!!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lilu		</title>
		<link>http://wiebe-elsinga.com/blog/android-fragment/comment-page-1/#comment-16839</link>

		<dc:creator><![CDATA[Lilu]]></dc:creator>
		<pubDate>Wed, 21 Mar 2012 20:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://wiebe-elsinga.com/blog/?p=578#comment-16839</guid>

					<description><![CDATA[hello, thanks for the tutorial, do not speak English, so if I can not understand, I ask for your help, I want to create a list q to señeccionar an item from the list displays a default text me, if I select another item from another text display setting. I would appreciate help me, as a change in your tutorial q pictures but I leave a text?
would believe that change is here, in the FragmentExample.java

    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle saved) {
    	int n;
    	Context c = getActivity().getApplicationContext();
        LinearLayout l = new LinearLayout(c);
        for (n = 0; n &#060; nAndroids; n++) {
        	ImageView i = new ImageView(c);
        	i.setImageResource(R.drawable.android);
        	l.addView(i);
        }
        return l;
    }
but I don`t know how  to save a different text to display, I saw somewhere that was saved in a text string you want, it then, but not how to do that: (]]></description>
			<content:encoded><![CDATA[<p>hello, thanks for the tutorial, do not speak English, so if I can not understand, I ask for your help, I want to create a list q to señeccionar an item from the list displays a default text me, if I select another item from another text display setting. I would appreciate help me, as a change in your tutorial q pictures but I leave a text?<br />
would believe that change is here, in the FragmentExample.java</p>
<p>    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle saved) {<br />
    	int n;<br />
    	Context c = getActivity().getApplicationContext();<br />
        LinearLayout l = new LinearLayout(c);<br />
        for (n = 0; n &lt; nAndroids; n++) {<br />
        	ImageView i = new ImageView(c);<br />
        	i.setImageResource(R.drawable.android);<br />
        	l.addView(i);<br />
        }<br />
        return l;<br />
    }<br />
but I don`t know how  to save a different text to display, I saw somewhere that was saved in a text string you want, it then, but not how to do that: (</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Paresh		</title>
		<link>http://wiebe-elsinga.com/blog/android-fragment/comment-page-1/#comment-3219</link>

		<dc:creator><![CDATA[Paresh]]></dc:creator>
		<pubDate>Wed, 06 Apr 2011 08:21:13 +0000</pubDate>
		<guid isPermaLink="false">http://wiebe-elsinga.com/blog/?p=578#comment-3219</guid>

					<description><![CDATA[The article is awesome and i have referred this article to develop my first screen. Thanx

But, Please Let me know one thing: 
What if i want to Inflate the layout inside the onCreateView method of Fragments:

For example, 
   @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle saved) {
       
    	// Inflate the layout for this fragment
      
     mContentView = inflater.inflate(R.layout.mainactivitylist, null);
     final TextView txtViewTitle = (TextView) mContentView.findViewById(R.id.txtViewTitle);
     txtViewTitle.setText(itemTitle);
    	
     return mContentView; 
    } 

If i write this then TextView is already visible first time (Actually, i am displaying value inside this textview based on the listview item click shown on left-side). When i click on any item from a listview, then again new TextView (1st textview is already there) is added with value displayed.

What should i do to dont display initial textview ? I just want to display textview based on the Listview item click?]]></description>
			<content:encoded><![CDATA[<p>The article is awesome and i have referred this article to develop my first screen. Thanx</p>
<p>But, Please Let me know one thing:<br />
What if i want to Inflate the layout inside the onCreateView method of Fragments:</p>
<p>For example,<br />
   @Override<br />
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle saved) {</p>
<p>    	// Inflate the layout for this fragment</p>
<p>     mContentView = inflater.inflate(R.layout.mainactivitylist, null);<br />
     final TextView txtViewTitle = (TextView) mContentView.findViewById(R.id.txtViewTitle);<br />
     txtViewTitle.setText(itemTitle);</p>
<p>     return mContentView;<br />
    } </p>
<p>If i write this then TextView is already visible first time (Actually, i am displaying value inside this textview based on the listview item click shown on left-side). When i click on any item from a listview, then again new TextView (1st textview is already there) is added with value displayed.</p>
<p>What should i do to dont display initial textview ? I just want to display textview based on the Listview item click?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
