Prevent "Hidden buttons" to fire up until they are actually shown by swiping the top layout

6 posts, 0 answers
  1. Ivan
    Ivan avatar
    3 posts
    Member since:
    Jun 2014

    Posted 30 Nov 2016 Link to this post

    Hi,

    I have downloaded trail version of Telerik UI for Xamarin.Android and playing around with examples I run in some problems with ListView I can't quite figure out.
    In ListViewSwipeActionsThresholdsFragment.cs example clicking in left or right section of ListView activates "Hidden buttons" without swiping the view itself.

     

    [url=https://postimg.org/image/53t0cp0tn/][img]https://s17.postimg.org/53t0cp0tn/sl1.png[/img][/url]

    How do you prevent hidden button to fire up until they are actually shown by swiping the top layout?

  2. Deyan
    Admin
    Deyan avatar
    2142 posts

    Posted 30 Nov 2016 Link to this post

    Hello Ivan,

    Thanks for writing.

    I would like to inform you that this is a known issue with SwipeActionsBehavior which we have internally addressed. We are planning to upload an updated version of UI for Android by the end of this week that contains the fix.

    Stay tuned.

    Regards,
    Deyan
    Telerik by Progress
    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
  3. Ivan
    Ivan avatar
    3 posts
    Member since:
    Jun 2014

    Posted 06 Dec 2016 Link to this post

    Hi,

    I have downloaded new version of UI for Xamarin R3 2016 (version 2016.3.1202.233) and replace dlls in sample project with the new ones and the problem with activating "Hidden buttons" under the views in ListView without swiping the item still persists.

  4. Deyan
    Admin
    Deyan avatar
    2142 posts

    Posted 06 Dec 2016 Link to this post

    Hello,

    Thanks for writing. I have checked the scenario on my side and could not reproduce the behavior that you describe. There is a similar example in our Android-Samples repository on Github here:

    https://github.com/telerik/Android-samples/blob/release/Samples-Xamarin/Fragments/ListView/ListViewSwipeActionsThresholdsFragment.cs

    It will be useful if you can isolate the case in a project and send it to us for further investigation.

    Thanks for your time.

    Regards,
    Deyan
    Telerik by Progress
    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
  5. Ivan
    Ivan avatar
    3 posts
    Member since:
    Jun 2014

    Posted 06 Dec 2016 Link to this post

    Hi,

    Sorry for bothering you but i made a small video showing the issue, you can find a link below.

    https://youtu.be/YTnT1XDLAOc
  6. Lance | Tech Support Engineer, Sr.
    Admin
    Lance | Tech Support Engineer, Sr. avatar
    362 posts

    Posted 07 Dec 2016 Link to this post

    Hi Ivan,

    Thank you for the video. Due to the symptoms you're describing, there's a slight chance that your project is still using the old DLLs as this is not an uncommon problem with Xamarin.

    Can you eliminate this possibility by manually deleting the Android project's bin and obj folders (see attached screenshot. you'll need to unload/close the project before doing this) and then do a rebuild.  This will ensure that the deployed project is using the new DLLs with the repaired behavior.

    Once you've done that, please try running it again and see if the behavior is still occurring.

    If it is still happening, Deyan will continue investigating but will need some more information from you. Can you also include the code/sample project in your reply so that we can replicate it on our end. This will allow us to directly observe and debug the problem on our side.

    Thank you for your understanding and patience while we work to resolve your problem.

    Regards,
    Lance | Tech Support Engineer, Sr.
    Telerik by Progress
    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
Back to Top