@@eddydn71 thank you v much for your reply,,, yes I've only used EDMTDialog in my project without Refit. I think the issue in my project is that i'm using WebClient class to get json data which isn't support async and awit methods,, I dont know how to overcome this issue
Hai @EDMT , i have a few question. Sorry i'm newbie in programming and xamarin world. May i know how to appear the data from the api without click the "Get Data" button
I seem to be getting a "API doesn't look like a Refit interface" error where you declare the url for the rest service on the main activity even though I have followed all your steps. Any suggestions for this?
Thank you for tutorial, however I have problem when trying to use refit for JSON data that is not inside array "[ ]" like the test data from json place holder. Do you have any suggestions? I get the following error : Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type System.Collections.Generic.List 1[App1.Model.RootObject] because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer.)
bro i have some problems with emulator. My processor is amd and ram 4 gb. How can i solve the problem? 16:26 Emulator: This application has requested the Runtime to terminate it in an unusual way. 16:26 Emulator: Please contact the application's support team for more information. 16:26 ADB rejected shell command (getprop): closed 16:26 Emulator: Process finished with exit code 255
I found some resources , i hope it helpful : support.microsoft.com/en-gb/help/884538/you-receive-a-this-application-has-requested-the-runtime-to-terminate
@@izzylutions Dialog, dialog not show that mean we don't call show() method or call in wrong place Try test: Create an button and add dialog.show() in button. Click button if you see dialog, check your code in adapter again
Great, i missed this series of tutorials with xamarin. I hope more. Regards
^^ I'll be back with Xamarin Android :D
Thanks friend, it made as yours it worked. Is it same codes if we want to pass parameters or use REST API?
Sure my dear :D
great!!! thanks for doing more xamarin android videos
You're welcome my dear :D I will try
thank y for your tutorial, its really helpful,,, i have only one issue, EDMTDialog not working in my application. could you please help me out.
Hi , try create an new project and install only EDMTDialog , let me known if you still have this problem
@@eddydn71 thank you v much for your reply,,, yes I've only used EDMTDialog in my project without Refit.
I think the issue in my project is that i'm using WebClient class to get json data which isn't support async and awit methods,, I dont know how to overcome this issue
Hai @EDMT , i have a few question. Sorry i'm newbie in programming and xamarin world. May i know how to appear the data from the api without click the "Get Data" button
Copy all code of GetData button and paste on onCreate() method if you want it load automatically
@@eddydn71 sure I will try it.. thanks
You're welcome my bro
good tutorials you are the best
You're welcome my dear :D
Thank
You're welcome my dear
I seem to be getting a "API doesn't look like a Refit interface" error where you declare the url for the rest service on the main activity even though I have followed all your steps. Any suggestions for this?
Try watch my tutorial step by step my dear :D
Hi Teacher,i have a so important question. I want some video to learn security in android app. How can i release an app that is secure?
What you want to secure ? from decompiler ?
Thank you for tutorial, however I have problem when trying to use refit for JSON data that is not inside array "[ ]" like the test data from json place holder. Do you have any suggestions?
I get the following error :
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type System.Collections.Generic.List 1[App1.Model.RootObject] because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer.)
I did find some stackoverflow answers however I didn't understand them
I figured it out, nevermind!
I just read it in as the root object instead of a list of a root object, silly me
You're welcome my dear
Can you please explain the purpose of the Interface class a bit? It is the only piece of this that I don't quite understand.
We declare interface because Refit need it ! And it will implement it in build-in function
Hey bro can you please tell me a way to make background services run even when app is closed
Services is run when app close my dear :D I will show how to do that :D
You can learn a little about this subject here:docs.microsoft.com/pt-br/xamarin/android/app-fundamentals/services/index
does this work between MS SQL Server, ASP .NET WebAPI ? for xamarin android
Yes my bro :D
does RestServices supports XML Data ? or just json?
i got a problem that says cannot convert from Xamarinrefit.list to int in line 53 can u helt me
Please watch my tutorial step by step , my dear
Sir, can you please make a tutorial like this using Android Studio (Java)
Already do this , just search my dear :D
bro i have some problems with emulator. My processor is amd and ram 4 gb. How can i solve the problem?
16:26 Emulator: This application has requested the Runtime to terminate it in an unusual way.
16:26 Emulator: Please contact the application's support team for more information.
16:26 ADB rejected shell command (getprop): closed
16:26 Emulator: Process finished with exit code 255
I found some resources , i hope it helpful : support.microsoft.com/en-gb/help/884538/you-receive-a-this-application-has-requested-the-runtime-to-terminate
how to make load more data from Json , load first 0 to 10 records and 10 to 20 can u do it bro
Yes you can do that if you have an API endpoint accept you load json by index :D
why my EDMT dialog doesnt appear on adroid app ?
Have you called show() method of dialog ?
@@eddydn71 yup , i have done it . But the result still the same 😢. Btw , the adapter is okay 👍🏻
@@izzylutions Dialog, dialog not show that mean we don't call show() method or call in wrong place
Try test: Create an button and add dialog.show() in button. Click button if you see dialog, check your code in adapter again
i have a json that contains name, password, contact, address..... how can i show it ,,, like a table view.... Thank you very much
Convert it to Object and access like class of java my dear
@@eddydn71 any reference Sir.
Use Newtonsoft.Json to do that my dear , try google 'Convert json to object with Newtonsoft"
@@eddydn71 Please do tutorial of newtonsoft...
holee sheet a xamarin tutorial atlast!!
^^ You're welcome my dear :D
Doesn't works on iOS. Why?
Because this tutorial only design for 'Xamarin Android' , not 'Xamarin Form' :)
i tried but get application stopped
I am getting error in interface at GetUser();
show me full of your error , my dear :D
@@eddydn71 now its gaone
@@eddydn71 i have another error in find view by id, list view(resource) is not defined in layout but i have defined it in layout still not recognizing
@@sapnasolanki29 Try clean and rebuild your project , my dear