xamarin android application

dear all

i have a  xamarin android application with target framework :APi Level 27
i am getting below warning :'ProgressDialog' is obsolete: 'This class is obsoleted in this android platform'

would you please help
pamela rizkDeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongSoftware Team Lead, ex-Business Systems Analyst , ex-Senior Application EngineerCommented:
This class is obsoleted in this android platform

Think you need to lower down the Android API level or else use the updated library instead of ProgressDialog.

check the official documentation:

This class was deprecated in API level 26.
ProgressDialog is a modal dialog, which prevents the user from interacting with the app. Instead of using this class, you should use a progress indicator like ProgressBar, which can be embedded in your app's UI. Alternatively, you can use a notification to inform the user of the task's progress.

pamela rizkDeveloperAuthor Commented:
i used spots dialog instead
Ryan ChongSoftware Team Lead, ex-Business Systems Analyst , ex-Senior Application EngineerCommented:
ok, you got to check the official documentation of "spots dialog" to see what's its dependencies.
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

pamela rizkDeveloperAuthor Commented:
it depends of Dmax.Dialog; nuget to dowload
pamela rizkDeveloperAuthor Commented:
solved by using spotsdialog inherit from alert dialog

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pamela rizkDeveloperAuthor Commented:
joans smithCommented:
You need to check official documentation of spots dialog that will show you its dependency, otherwise you can get reference of mobile application development company.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.