Click here to Skip to main content
15,498,398 members
Home / Discussions / Android
   

Android

 
GeneralRe: Hiring Programmer for Android apps. Pin
Richard MacCutchan8-Sep-20 22:36
mveRichard MacCutchan8-Sep-20 22:36 
GeneralRe: Hiring Programmer for Android apps. Pin
User 1490001610-Sep-20 9:18
MemberUser 1490001610-Sep-20 9:18 
GeneralRe: Hiring Programmer for Android apps. Pin
Richard MacCutchan10-Sep-20 10:19
mveRichard MacCutchan10-Sep-20 10:19 
GeneralRe: Hiring Programmer for Android apps. Pin
klindouchous30-Dec-20 8:14
Memberklindouchous30-Dec-20 8:14 
GeneralRe: Hiring Programmer for Android apps. Pin
thinkstartpl27-Apr-21 3:50
professionalthinkstartpl27-Apr-21 3:50 
AnswerRe: The popular and free movie viewing app for android? Pin
Richard MacCutchan9-Aug-20 0:06
mveRichard MacCutchan9-Aug-20 0:06 
QuestionXamarin Forms App Calling Web API Pin Pin
Kevin Marois20-Jul-20 8:26
professionalKevin Marois20-Jul-20 8:26 
AnswerRe: Xamarin Forms App Calling Web API Pin Pin
Richard Deeming20-Jul-20 22:38
mveRichard Deeming20-Jul-20 22:38 
It sounds like you have a deadlock somewhere. Try adding .ConfigureAwait(false) to the GetAsync call.
C#
private async Task GetData()
{
    try
    {
        HttpClient client = new HttpClient();
        HttpResponseMessage response = await client.GetAsync(url).ConfigureAwait(false);

        if (response.IsSuccessStatusCode)
        {
            string content = await response.Content.ReadAsStringAsync();
            Items = JsonConvert.DeserializeObject<List<TestDataEntity>>(content);
        }
    }
    catch (Exception e)
    {
        throw;
    }
}




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Xamarin Forms App Calling Web API Pin Pin
Kevin Marois21-Jul-20 7:22
professionalKevin Marois21-Jul-20 7:22 
GeneralRe: Xamarin Forms App Calling Web API Pin Pin
Richard Deeming21-Jul-20 7:56
mveRichard Deeming21-Jul-20 7:56 
GeneralRe: Xamarin Forms App Calling Web API Pin Pin
Kevin Marois21-Jul-20 7:58
professionalKevin Marois21-Jul-20 7:58 
GeneralRe: Xamarin Forms App Calling Web API Pin Pin
Richard Deeming22-Jul-20 0:17
mveRichard Deeming22-Jul-20 0:17 
GeneralRe: Xamarin Forms App Calling Web API Pin Pin
Kevin Marois22-Jul-20 7:45
professionalKevin Marois22-Jul-20 7:45 
GeneralRe: Xamarin Forms App Calling Web API Pin Pin
Richard Deeming22-Jul-20 8:30
mveRichard Deeming22-Jul-20 8:30 
GeneralRe: Xamarin Forms App Calling Web API Pin Pin
Kevin Marois22-Jul-20 8:36
professionalKevin Marois22-Jul-20 8:36 
GeneralRe: Xamarin Forms App Calling Web API Pin Pin
Richard Deeming22-Jul-20 23:09
mveRichard Deeming22-Jul-20 23:09 
Questionandroid studio Pin
Member 1488720211-Jul-20 21:30
MemberMember 1488720211-Jul-20 21:30 
QuestionRe: android studio Pin
Richard MacCutchan12-Jul-20 0:05
mveRichard MacCutchan12-Jul-20 0:05 
AnswerRe: android studio Pin
Richard Andrew x6420-Jul-20 10:50
professionalRichard Andrew x6420-Jul-20 10:50 
GeneralRe: android studio Pin
Richard MacCutchan20-Jul-20 11:03
mveRichard MacCutchan20-Jul-20 11:03 
QuestionFile and App sharing app Pin
AdityaSha8-Jul-20 18:00
MemberAdityaSha8-Jul-20 18:00 
AnswerRe: File and App sharing app Pin
Richard MacCutchan8-Jul-20 23:49
mveRichard MacCutchan8-Jul-20 23:49 
GeneralRe: File and App sharing app Pin
AdityaSha10-Jul-20 2:51
MemberAdityaSha10-Jul-20 2:51 
GeneralRe: File and App sharing app Pin
Richard MacCutchan10-Jul-20 4:11
mveRichard MacCutchan10-Jul-20 4:11 
Questionjava.lang.IllegalArgumentException: Unknown URI: content Pin
Ирина Костић23-Jun-20 14:56
MemberИрина Костић23-Jun-20 14:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.