<?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 for Benjii Me</title>
	<atom:link href="http://benjii.me/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://benjii.me</link>
	<description>Web and Windows Phone 7 by Ben Cull</description>
	<lastBuildDate>Fri, 03 Feb 2012 13:36:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Endless Scrolling ListView in Android by Felipe Marques</title>
		<link>http://benjii.me/2010/08/endless-scrolling-listview-in-android/#comment-655</link>
		<dc:creator>Felipe Marques</dc:creator>
		<pubDate>Fri, 03 Feb 2012 13:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://benjii.me/2010/08/endless-scrolling-listview-in-android/#comment-655</guid>
		<description>Nice Job!! Great Post!! I make a small update:

import android.os.AsyncTask;
import android.widget.AbsListView;
import android.widget.AbsListView.OnScrollListener;

public class EndlessScrollListener implements OnScrollListener {

	private int visibleThreshold = 5;
	private int currentPage = 0;
	private int previousTotal = 0;
	private boolean loading = true;
	private AsyncTask asyncTask;

	public EndlessScrollListener(AsyncTask task) {
		this.asyncTask = task;
	}

	public EndlessScrollListener(int visibleThreshold) {
		this.visibleThreshold = visibleThreshold;
	}

	public void onScroll(AbsListView view, int firstVisibleItem,
			int visibleItemCount, int totalItemCount) {
		if (loading) {
			if (totalItemCount &gt; previousTotal) {
				loading = false;
				previousTotal = totalItemCount;
				currentPage++;
			}
		}
		if (!loading &amp;&amp; (totalItemCount - visibleItemCount) &lt;= (firstVisibleItem + visibleThreshold)) {
			// I load the next page of gigs using a background task,
			// but you can call any function here.
			asyncTask.execute(currentPage + 1);
			loading = true;
		}
	}

	public void onScrollStateChanged(AbsListView view, int scrollState) {
	}
}


this way we can make this class more generic and can use it for other variaves Activitys.

Att. Felipe</description>
		<content:encoded><![CDATA[<p>Nice Job!! Great Post!! I make a small update:</p>
<p>import android.os.AsyncTask;<br />
import android.widget.AbsListView;<br />
import android.widget.AbsListView.OnScrollListener;</p>
<p>public class EndlessScrollListener implements OnScrollListener {</p>
<p>	private int visibleThreshold = 5;<br />
	private int currentPage = 0;<br />
	private int previousTotal = 0;<br />
	private boolean loading = true;<br />
	private AsyncTask asyncTask;</p>
<p>	public EndlessScrollListener(AsyncTask task) {<br />
		this.asyncTask = task;<br />
	}</p>
<p>	public EndlessScrollListener(int visibleThreshold) {<br />
		this.visibleThreshold = visibleThreshold;<br />
	}</p>
<p>	public void onScroll(AbsListView view, int firstVisibleItem,<br />
			int visibleItemCount, int totalItemCount) {<br />
		if (loading) {<br />
			if (totalItemCount &gt; previousTotal) {<br />
				loading = false;<br />
				previousTotal = totalItemCount;<br />
				currentPage++;<br />
			}<br />
		}<br />
		if (!loading &amp;&amp; (totalItemCount &#8211; visibleItemCount) &lt;= (firstVisibleItem + visibleThreshold)) {<br />
			// I load the next page of gigs using a background task,<br />
			// but you can call any function here.<br />
			asyncTask.execute(currentPage + 1);<br />
			loading = true;<br />
		}<br />
	}</p>
<p>	public void onScrollStateChanged(AbsListView view, int scrollState) {<br />
	}<br />
}</p>
<p>this way we can make this class more generic and can use it for other variaves Activitys.</p>
<p>Att. Felipe</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Multiple Application Bars in Windows Phone Development by mike</title>
		<link>http://benjii.me/2011/12/using-multiple-application-bars-in-windows-phone-development/#comment-652</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Mon, 23 Jan 2012 16:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://benjii.me/2011/12/using-multiple-application-bars-in-windows-phone-development/#comment-652</guid>
		<description>hi thx for your answer

i tried this, but how do i switch between the bars?
i touched the dots which i normally use for showing menu items but nothing appears/ switches

rgds,mike</description>
		<content:encoded><![CDATA[<p>hi thx for your answer</p>
<p>i tried this, but how do i switch between the bars?<br />
i touched the dots which i normally use for showing menu items but nothing appears/ switches</p>
<p>rgds,mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Multiple Application Bars in Windows Phone Development by Benjii</title>
		<link>http://benjii.me/2011/12/using-multiple-application-bars-in-windows-phone-development/#comment-651</link>
		<dc:creator>Benjii</dc:creator>
		<pubDate>Sun, 22 Jan 2012 23:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://benjii.me/2011/12/using-multiple-application-bars-in-windows-phone-development/#comment-651</guid>
		<description>Hi Mike - Nothing missed, you just grabbed too much. Your constructor should look like:
// Constructor
public MainPage()
{
    InitializeComponent();
    ApplicationBar = (Microsoft.Phone.Shell.ApplicationBar)Resources[&quot;DefaultAppBar&quot;];
}

SelectedItems is just an example of how you could change the bar inside of a list&#039;s onSelectionChanged event.</description>
		<content:encoded><![CDATA[<p>Hi Mike &#8211; Nothing missed, you just grabbed too much. Your constructor should look like:<br />
// Constructor<br />
public MainPage()<br />
{<br />
    InitializeComponent();<br />
    ApplicationBar = (Microsoft.Phone.Shell.ApplicationBar)Resources["DefaultAppBar"];<br />
}</p>
<p>SelectedItems is just an example of how you could change the bar inside of a list&#8217;s onSelectionChanged event.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Multiple Application Bars in Windows Phone Development by mike</title>
		<link>http://benjii.me/2011/12/using-multiple-application-bars-in-windows-phone-development/#comment-650</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Sun, 22 Jan 2012 17:36:28 +0000</pubDate>
		<guid isPermaLink="false">http://benjii.me/2011/12/using-multiple-application-bars-in-windows-phone-development/#comment-650</guid>
		<description>hi there,

when i fill in this:

    // Constructor
        public MainPage()
        {
            InitializeComponent();
            ApplicationBar = (Microsoft.Phone.Shell.ApplicationBar)Resources[&quot;DefaultAppBar&quot;];

            if (SelectedItems.Count == 1)
            {
                ApplicationBar = (Microsoft.Phone.Shell.ApplicationBar)Resources[&quot;SingleSelectionAppBar&quot;];
            }
            
            else
            {
                ApplicationBar = (Microsoft.Phone.Shell.ApplicationBar)Resources[&quot;DefaultAppBar&quot;];
            }

        }
    }
}

i got error:

Error	1	The name &#039;SelectedItems&#039; does not exist in the current context	C:\Users\mike\documents\visual studio 2010\Projects\PhoneApp2\PhoneApp2\MainPage.xaml.cs	24	17	PhoneApp2

do i miss some code?

rgds,mike</description>
		<content:encoded><![CDATA[<p>hi there,</p>
<p>when i fill in this:</p>
<p>    // Constructor<br />
        public MainPage()<br />
        {<br />
            InitializeComponent();<br />
            ApplicationBar = (Microsoft.Phone.Shell.ApplicationBar)Resources["DefaultAppBar"];</p>
<p>            if (SelectedItems.Count == 1)<br />
            {<br />
                ApplicationBar = (Microsoft.Phone.Shell.ApplicationBar)Resources["SingleSelectionAppBar"];<br />
            }</p>
<p>            else<br />
            {<br />
                ApplicationBar = (Microsoft.Phone.Shell.ApplicationBar)Resources["DefaultAppBar"];<br />
            }</p>
<p>        }<br />
    }<br />
}</p>
<p>i got error:</p>
<p>Error	1	The name &#8216;SelectedItems&#8217; does not exist in the current context	C:\Users\mike\documents\visual studio 2010\Projects\PhoneApp2\PhoneApp2\MainPage.xaml.cs	24	17	PhoneApp2</p>
<p>do i miss some code?</p>
<p>rgds,mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Push Notifications in Windows Phone 7 &#8211; #1 Code on the Device by GeeVee</title>
		<link>http://benjii.me/2010/12/push-notifications-in-windows-phone-7-1-code-on-the-device/#comment-649</link>
		<dc:creator>GeeVee</dc:creator>
		<pubDate>Wed, 18 Jan 2012 13:29:42 +0000</pubDate>
		<guid isPermaLink="false">http://benjii.me/2010/12/push-notifications-in-windows-phone-7-1-code-on-the-device/#comment-649</guid>
		<description>is there any option that we can send push notifications to device like Iphone

for every iphone it will have unique device id,based on device id we can send notifications and no need to check the URI like in Wp7

is there any possible like that in WP7 ..?</description>
		<content:encoded><![CDATA[<p>is there any option that we can send push notifications to device like Iphone</p>
<p>for every iphone it will have unique device id,based on device id we can send notifications and no need to check the URI like in Wp7</p>
<p>is there any possible like that in WP7 ..?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Multiple Application Bars in Windows Phone Development by Doug</title>
		<link>http://benjii.me/2011/12/using-multiple-application-bars-in-windows-phone-development/#comment-630</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 15 Dec 2011 09:04:19 +0000</pubDate>
		<guid isPermaLink="false">http://benjii.me/2011/12/using-multiple-application-bars-in-windows-phone-development/#comment-630</guid>
		<description>Very cool.

thanks for the post!</description>
		<content:encoded><![CDATA[<p>Very cool.</p>
<p>thanks for the post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Continuum Transition for Windows Phone Silverlight Toolkit by Martin</title>
		<link>http://benjii.me/2011/11/continuum-transition-for-windows-phone-silverlight-toolkit/#comment-621</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sat, 03 Dec 2011 10:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://benjii.me/2011/11/continuum-transition-for-windows-phone-silverlight-toolkit/#comment-621</guid>
		<description>It is never mentioned, that you need WP7Contrib Libraries for this to &quot;work&quot;, better say &quot;build&quot;. 

I get this exception on navigating: Cannot resolve TargetProperty (UIElement.RenderTransform).(CompositeTransform.TranslateY) on specified object.

How does the DetailPage.xaml need to look like?</description>
		<content:encoded><![CDATA[<p>It is never mentioned, that you need WP7Contrib Libraries for this to &#8220;work&#8221;, better say &#8220;build&#8221;. </p>
<p>I get this exception on navigating: Cannot resolve TargetProperty (UIElement.RenderTransform).(CompositeTransform.TranslateY) on specified object.</p>
<p>How does the DetailPage.xaml need to look like?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Use the Long List Selector for Windows Phone Mango by Windows Phone (Mango) Contact Chooser Task &#124; lukencode</title>
		<link>http://benjii.me/2011/10/how-to-use-the-long-list-selector-for-windows-phone-mango/#comment-616</link>
		<dc:creator>Windows Phone (Mango) Contact Chooser Task &#124; lukencode</dc:creator>
		<pubDate>Thu, 01 Dec 2011 11:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://benjii.me/2011/10/how-to-use-the-long-list-selector-for-windows-phone-mango/#comment-616</guid>
		<description>[...] is awesome) and uses code pretty similar to that described by my good friend Benjii in his post: How to Use the Long List Selector for Windows Phone Mango. The code to encapsulate the page is kind of a mish mash of code adapted(/stolen) from the source [...]</description>
		<content:encoded><![CDATA[<p>[...] is awesome) and uses code pretty similar to that described by my good friend Benjii in his post: How to Use the Long List Selector for Windows Phone Mango. The code to encapsulate the page is kind of a mish mash of code adapted(/stolen) from the source [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using SMTP with WordPress and IIS by Solai Luke</title>
		<link>http://benjii.me/2010/03/using-smtp-with-wordpress-and-iis/#comment-615</link>
		<dc:creator>Solai Luke</dc:creator>
		<pubDate>Wed, 30 Nov 2011 22:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://benjii.me/2010/03/using-smtp-with-wordpress-and-iis/#comment-615</guid>
		<description>This is a really interesting submit! Appreciate your this! With all the best Luke aka couchgool.</description>
		<content:encoded><![CDATA[<p>This is a really interesting submit! Appreciate your this! With all the best Luke aka couchgool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Continuum Transition for Windows Phone Silverlight Toolkit by Steph</title>
		<link>http://benjii.me/2011/11/continuum-transition-for-windows-phone-silverlight-toolkit/#comment-614</link>
		<dc:creator>Steph</dc:creator>
		<pubDate>Wed, 30 Nov 2011 10:19:23 +0000</pubDate>
		<guid isPermaLink="false">http://benjii.me/2011/11/continuum-transition-for-windows-phone-silverlight-toolkit/#comment-614</guid>
		<description>Element is already the child of another element. When call : NavigationService.Navigate(new Uri(&quot;/DetailPage.xaml&quot;, UriKind.Relative));</description>
		<content:encoded><![CDATA[<p>Element is already the child of another element. When call : NavigationService.Navigate(new Uri(&#8220;/DetailPage.xaml&#8221;, UriKind.Relative));</p>
]]></content:encoded>
	</item>
</channel>
</rss>

