This is a migrated thread and some comments may be shown as answers.

ItemTapped happening twice in iOS

3 Answers 116 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 2
Erik asked on 22 Oct 2015, 06:15 PM

Hi -

My RadListView in iOS is invoking the ItemTapped callback twice when I tap it.  I am using Prism to navigate to another page when tapping an item -- basically to see more details about an item in the list.  But I get TWO of the detail pages loaded in iOS when I tap the item.  I've traced this back to the ItemTapped event getting invoked twice on iOS when an item is tapped.  The GitHub repo below should reproduce this for you easily.  Run the app with a  breakpoint in the MainPage view ItemTapped callback and then tap an item in the listview when it opens.  You will hit the callback twice.

Additionally, the swipe functionality does not behave well -- it ALSO invokes the ItemTapped callback -- which I definitely don't want since it navigates me away from the page.  This can also be seen with the breakpoints mentioned above.

Here is the project that will repro the ItemSwiped callback issues.

https://github.com/dahlsailrunner/TelerikSample

 

I appreciate any help you can provide.  I'm guessing this will require a fix on your side -- but if my code is wrong just let me know.

Thanks -

Erik

 
 

3 Answers, 1 is accepted

Sort by
0
Vladislav
Telerik team
answered on 27 Oct 2015, 11:26 AM
Hello Erik,

Thank you for this report and the project attached.

We confirm that this is actually an issue in the RadListView control and will do our best to provide a fix for it in some of our future releases of the "UI for Xamarin" suite.

Your Telerik points are updated accordingly.

Regards,
Vladislav
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Erik
Top achievements
Rank 2
answered on 28 Oct 2015, 03:55 PM

Thanks for the note.  I just wanted to provide an update - I'll be submitting a question/issue regarding the chart and I actually updated my GitHub repo with the repro code for that question.  If you still need to refer to the repo for *this* issue, then just update the Bootstrapper.cs file to open the MainPage instead of the ChartPage.

In the meantime, I'm eagerly awaiting this fix. 

Thanks!

-Erik

0
Pavel R. Pavlov
Telerik team
answered on 16 Nov 2015, 06:57 AM
Hello Erik,

I just wanted to quickly update you regarding the issue related with the RadListView. We managed to fix it in our source code and the fix will be available in our next official release. 

Please stay tuned and let us know if you encounter any other issues.

Regards,
Pavel R. Pavlov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ListView
Asked by
Erik
Top achievements
Rank 2
Answers by
Vladislav
Telerik team
Erik
Top achievements
Rank 2
Pavel R. Pavlov
Telerik team
Share this question
or