Click here to Skip to main content
15,851,387 members
Home / Discussions / Mobile
   

Mobile

 
PinnedForum Guidelines - PLEASE READ PinPopular
Chris Maunder28-Jul-09 3:38
cofounderChris Maunder28-Jul-09 3:38 
QuestionError using google_maps_flutter: ^2.5.0 in flutter Pin
Luis M. Rojas4-Dec-23 3:06
Luis M. Rojas4-Dec-23 3:06 
AnswerRe: Error using google_maps_flutter: ^2.5.0 in flutter Pin
Richard MacCutchan4-Dec-23 3:11
mveRichard MacCutchan4-Dec-23 3:11 
GeneralRe: Error using google_maps_flutter: ^2.5.0 in flutter Pin
Richard Deeming4-Dec-23 3:17
mveRichard Deeming4-Dec-23 3:17 
GeneralRe: Error using google_maps_flutter: ^2.5.0 in flutter Pin
Richard MacCutchan4-Dec-23 3:25
mveRichard MacCutchan4-Dec-23 3:25 
GeneralRe: Error using google_maps_flutter: ^2.5.0 in flutter Pin
Luis M. Rojas4-Dec-23 3:33
Luis M. Rojas4-Dec-23 3:33 
GeneralRe: Error using google_maps_flutter: ^2.5.0 in flutter Pin
Richard MacCutchan4-Dec-23 3:37
mveRichard MacCutchan4-Dec-23 3:37 
GeneralRe: Error using google_maps_flutter: ^2.5.0 in flutter Pin
Andre Oosthuizen5-Dec-23 9:55
mveAndre Oosthuizen5-Dec-23 9:55 
GeneralRe: Error using google_maps_flutter: ^2.5.0 in flutter Pin
jschell4-Dec-23 4:43
jschell4-Dec-23 4:43 
GeneralRe: Error using google_maps_flutter: ^2.5.0 in flutter Pin
Richard MacCutchan4-Dec-23 5:59
mveRichard MacCutchan4-Dec-23 5:59 
RantHelp Backend - OLX Clone App in React Native Pin
Member 161106429-Oct-23 2:15
Member 161106429-Oct-23 2:15 
QuestionSignificance of AI in mobile app development Pin
kesavan santhinikethan29-Oct-22 1:47
professionalkesavan santhinikethan29-Oct-22 1:47 
AnswerRe: Significance of AI in mobile app development Pin
Member 158891079-Jan-23 9:15
Member 158891079-Jan-23 9:15 
GeneralRe: Significance of AI in mobile app development Pin
Android Pocket 24-Oct-23 10:47
Android Pocket 24-Oct-23 10:47 
QuestionFood Delivery App Development Pin
nithin sethu28-Oct-22 4:25
nithin sethu28-Oct-22 4:25 
AnswerRe: Food Delivery App Development Pin
Jignen Pandya19-Apr-23 23:18
professionalJignen Pandya19-Apr-23 23:18 
Questioncan anyone help me to solve this error? Pin
Member 1579646613-Oct-22 1:51
Member 1579646613-Oct-22 1:51 
AnswerRe: can anyone help me to solve this error? Pin
Richard MacCutchan13-Oct-22 2:13
mveRichard MacCutchan13-Oct-22 2:13 
SuggestionRe: can anyone help me to solve this error? Pin
David Crow13-Oct-22 4:16
David Crow13-Oct-22 4:16 
QuestionXamarin using C#: System.NullReferenceException: 'Object reference not set to an instance of an object.' Pin
Luis M. Rojas22-Jul-22 8:18
Luis M. Rojas22-Jul-22 8:18 
AnswerRe: Xamarin using C#: System.NullReferenceException: 'Object reference not set to an instance of an object.' Pin
Richard MacCutchan22-Jul-22 22:23
mveRichard MacCutchan22-Jul-22 22:23 
GeneralRe: Xamarin using C#: System.NullReferenceException: 'Object reference not set to an instance of an object.' Pin
Luis M. Rojas23-Jul-22 4:34
Luis M. Rojas23-Jul-22 4:34 
Thanks at lot,
Well, after debuggin i got this message, maybe this is really the PROBLEM:
//After debugin i can see this error:  id=1 Status =WaitingForActivation, Method={null},

I had read the possible solutions: But i do not get it. Sorry. Here is the code

As soon the App starts this method is executed:
 public PaqueteServicio()
        {
            repo = RestService.For<IRepository>(API_BASE_URL);
           
        }
and var repo get the URL value

When clicked the button: This is executed

public Task<Resultado> Get()
{
           return repo.GetAllData();
	//After debugin i can see this error:  id=1 Status =WaitingForActivation, Method={null},
 }

Which it was defined here:
 public interface IRepository
    {
        [Get("/")]
        Task<Resultado> GetAllData();
    }

Where Resultado is this (a class)

    public class Resultado
    {
        [JsonProperty("results")]
        public Package[] Results { get; set; }
    }
And Package is my json file:

 public class Package
    {
        
        [JsonProperty("peso")]
        public string Peso { get; set; }

        [JsonProperty("tracking_number")]
        public string TrackingNumber { get; set; }

        [JsonProperty("contenido")]
        public string Contenido { get; set; }
}

GeneralRe: Xamarin using C#: System.NullReferenceException: 'Object reference not set to an instance of an object.' Pin
Richard MacCutchan23-Jul-22 9:14
mveRichard MacCutchan23-Jul-22 9:14 
GeneralRe: Xamarin using C#: System.NullReferenceException: 'Object reference not set to an instance of an object.' Pin
Luis M. Rojas23-Jul-22 12:59
Luis M. Rojas23-Jul-22 12:59 
GeneralRe: Xamarin using C#: System.NullReferenceException: 'Object reference not set to an instance of an object.' Pin
Richard MacCutchan23-Jul-22 21:50
mveRichard MacCutchan23-Jul-22 21:50 

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.