Link to home
Start Free TrialLog in
Avatar of pamela rizk
pamela rizkFlag for Lebanon

asked on

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
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

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
Avatar of pamela rizk

ASKER

i used spots dialog instead
ok, you got to check the official documentation of "spots dialog" to see what's its dependencies.
it depends of Dmax.Dialog; nuget to dowload
ASKER CERTIFIED SOLUTION
Avatar of pamela rizk
pamela rizk
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
solved
Avatar of joans smith
joans smith

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.