Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Justin Spradlin 139 posts 347 karma points
    Jul 26, 2015 @ 05:05
    Justin Spradlin
    0

    Does Async code work with custom Pickers?

    Hi,

    I'm working to make a VimeoPro picker based on the FlickrPicker code. I've basically just cloned the code and replaced everything Flickr with Vimeo. I'm using this project VimeoDotNet to provide me with the methods to interact with VimeoPro accounts. That works well with the Unit Test I wrote to make sure the search works.

    However, when I deploy NuPickers, make a data type, and attach it to a document type (as type a head .net data source) I can't seem to get it to work.

    In this library they wrote it all Async, but they provided synchronous methods like this - https://github.com/mfilippov/vimeo-dot-net/blob/master/src/VimeoDotNet/VimeoClient_Sync.cs#L78.

    Does anyone know if this would cause a problem with NuPickers? I can see that the thread is just abandoned and the thread that calls my nupicker just returns to the UI and I have a hanging thread that never returns.

    Any ideas would be much appreciated. I've been looking at this too long and can't seem to figure out where to go next. Thanks in advance,

    Justin

Please Sign in or register to post replies

Write your reply to:

Draft