xamarin android application

pamela rizk
pamela rizk used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Ryan ChongSoftware Team Lead

Commented:
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
pamela rizkDeveloper

Author

Commented:
i used spots dialog instead
Ryan ChongSoftware Team Lead

Commented:
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 rizkDeveloper

Author

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

Author

Commented:
solved
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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial