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
LVL 1
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 ChongBusiness 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.

ProgressDialog
https://developer.android.com/reference/android/app/ProgressDialog
0
pamela rizkDeveloperAuthor Commented:
i used spots dialog instead
0
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
ok, you got to check the official documentation of "spots dialog" to see what's its dependencies.
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

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

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:
solved
0
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.
0
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
Android

From novice to tech pro — start learning today.