<?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: Android FragmentStatePagerAdapter Example	</title>
	<atom:link href="https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/</link>
	<description>Technology Reaching Us In Time - Online</description>
	<lastBuildDate>Mon, 25 Nov 2019 12:07:10 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Dashrath Arya		</title>
		<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-18935</link>

		<dc:creator><![CDATA[Dashrath Arya]]></dc:creator>
		<pubDate>Thu, 01 Nov 2018 02:13:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.truiton.com/?p=318#comment-18935</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-9777&quot;&gt;Mohit Gupt&lt;/a&gt;.

hi Mohit Namaste
     can you help me for adding Splash screen in this &quot;FragmentStatePager&quot; example.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-9777">Mohit Gupt</a>.</p>
<p>hi Mohit Namaste<br />
     can you help me for adding Splash screen in this &#8220;FragmentStatePager&#8221; example.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: federico rufrancos		</title>
		<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-14465</link>

		<dc:creator><![CDATA[federico rufrancos]]></dc:creator>
		<pubDate>Thu, 15 Jun 2017 21:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.truiton.com/?p=318#comment-14465</guid>

					<description><![CDATA[EXCELENT EXAMPLE!
I have a bug in my app that it doesn&#039;t let me slide to others fragment when I pass my finger over the listsview. 
Do you have any idea what&#039;s the problem? Or which is the property in your example that if I remove it, I can repruduce my bug in your example.]]></description>
			<content:encoded><![CDATA[<p>EXCELENT EXAMPLE!<br />
I have a bug in my app that it doesn&#8217;t let me slide to others fragment when I pass my finger over the listsview.<br />
Do you have any idea what&#8217;s the problem? Or which is the property in your example that if I remove it, I can repruduce my bug in your example.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sujal		</title>
		<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-10212</link>

		<dc:creator><![CDATA[Sujal]]></dc:creator>
		<pubDate>Tue, 09 Aug 2016 07:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.truiton.com/?p=318#comment-10212</guid>

					<description><![CDATA[On changing the orientation, MainActivity is recreated, thus creating the fragments again.
How can I reload the fragments that had been loaded before? Getting views from fragments after orientation change is giving null. 

Thank you]]></description>
			<content:encoded><![CDATA[<p>On changing the orientation, MainActivity is recreated, thus creating the fragments again.<br />
How can I reload the fragments that had been loaded before? Getting views from fragments after orientation change is giving null. </p>
<p>Thank you</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mohit Gupt		</title>
		<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-9777</link>

		<dc:creator><![CDATA[Mohit Gupt]]></dc:creator>
		<pubDate>Sun, 24 Apr 2016 07:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.truiton.com/?p=318#comment-9777</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-9765&quot;&gt;Varun Jindal&lt;/a&gt;.

Hi,

You can limit the off screen pages if that&#039;s your concern. 
Refer to this link: &lt;a href=&quot;http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setOffscreenPageLimit%28int%29&quot; rel=&quot;nofollow&quot;&gt;http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setOffscreenPageLimit%28int%29&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-9765">Varun Jindal</a>.</p>
<p>Hi,</p>
<p>You can limit the off screen pages if that&#8217;s your concern.<br />
Refer to this link: <a href="http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setOffscreenPageLimit%28int%29" rel="nofollow">http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setOffscreenPageLimit%28int%29</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Varun Jindal		</title>
		<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-9765</link>

		<dc:creator><![CDATA[Varun Jindal]]></dc:creator>
		<pubDate>Thu, 21 Apr 2016 18:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.truiton.com/?p=318#comment-9765</guid>

					<description><![CDATA[Hi
Want to load different fragment into view pager on each slide, I am returning different fragment from getItem() method of adapter.

Problem:
On loading the activity, getItem is called more than one time So, getItem is returning fragment for some other position, Can you tell me how to handle this situation.]]></description>
			<content:encoded><![CDATA[<p>Hi<br />
Want to load different fragment into view pager on each slide, I am returning different fragment from getItem() method of adapter.</p>
<p>Problem:<br />
On loading the activity, getItem is called more than one time So, getItem is returning fragment for some other position, Can you tell me how to handle this situation.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rich		</title>
		<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-9567</link>

		<dc:creator><![CDATA[Rich]]></dc:creator>
		<pubDate>Fri, 26 Feb 2016 21:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.truiton.com/?p=318#comment-9567</guid>

					<description><![CDATA[Great Tutorial Mohit.]]></description>
			<content:encoded><![CDATA[<p>Great Tutorial Mohit.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mohit Gupt		</title>
		<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-6946</link>

		<dc:creator><![CDATA[Mohit Gupt]]></dc:creator>
		<pubDate>Tue, 28 Apr 2015 07:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.truiton.com/?p=318#comment-6946</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-6943&quot;&gt;Steph&lt;/a&gt;.

@drawable/truiton is just a logo image. You can copy any image into the drawable folder and use it in place of this image.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-6943">Steph</a>.</p>
<p>@drawable/truiton is just a logo image. You can copy any image into the drawable folder and use it in place of this image.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Steph		</title>
		<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-6943</link>

		<dc:creator><![CDATA[Steph]]></dc:creator>
		<pubDate>Mon, 27 Apr 2015 18:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.truiton.com/?p=318#comment-6943</guid>

					<description><![CDATA[Where are the images? The tutorial isn&#039;t helpful without them. 

&quot;@drawable/truiton&quot; ??]]></description>
			<content:encoded><![CDATA[<p>Where are the images? The tutorial isn&#8217;t helpful without them. </p>
<p>&#8220;@drawable/truiton&#8221; ??</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mohit Gupt		</title>
		<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-4517</link>

		<dc:creator><![CDATA[Mohit Gupt]]></dc:creator>
		<pubDate>Sat, 16 Aug 2014 09:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.truiton.com/?p=318#comment-4517</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-4515&quot;&gt;giuliocc&lt;/a&gt;.

This method &lt;code&gt;onCreateOptionsMenu&lt;/code&gt; is just a default method which is automatically added, when a new project is created. You can remove it from your code, it wont do any harm.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-4515">giuliocc</a>.</p>
<p>This method <code>onCreateOptionsMenu</code> is just a default method which is automatically added, when a new project is created. You can remove it from your code, it wont do any harm.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: giuliocc		</title>
		<link>https://www.truiton.com/2013/05/android-fragmentstatepageradapter-example/#comment-4515</link>

		<dc:creator><![CDATA[giuliocc]]></dc:creator>
		<pubDate>Sat, 16 Aug 2014 05:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.truiton.com/?p=318#comment-4515</guid>

					<description><![CDATA[Nice little intro to viewpagers, but you need to correct a couple of things. What are the defined menu options for this method ?

&lt;code&gt;@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}&lt;/code&gt;

And the @drawable/truition to test the app ?

Overall nice and quick which is what I am looking for at the moment.]]></description>
			<content:encoded><![CDATA[<p>Nice little intro to viewpagers, but you need to correct a couple of things. What are the defined menu options for this method ?</p>
<p><code>@Override<br />
	public boolean onCreateOptionsMenu(Menu menu) {<br />
		// Inflate the menu; this adds items to the action bar if it is present.<br />
		getMenuInflater().inflate(R.menu.main, menu);<br />
		return true;<br />
	}</code></p>
<p>And the @drawable/truition to test the app ?</p>
<p>Overall nice and quick which is what I am looking for at the moment.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.truiton.com @ 2026-06-29 23:22:29 by W3 Total Cache
-->