Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Static PreferenceManager.GetDefaultSharedPreferences missing. #41

Closed
@YevgenijZ

Description

@YevgenijZ

Xamarin.Android Version (eg: 6.0):

Microsoft Visual Studio Community 2019
Version 16.4.2
Microsoft .NET Framework
Version 4.8.03752
Xamarin.Android SDK 10.1.1.0 (d16-4/f2c9364)

Operating System & Version (eg: Mac OSX 10.11):

Windows 10 (1909)

Support Libraries Version (eg: 23.3.0):

Xamarin.AndroidX.Preference 1.1.0-rc1

Describe your Issue:

PreferenceManager.GetDefaultSharedPreferences(this.context)
Error CS0117 'PreferenceManager' does not contain a definition for 'GetDefaultSharedPreferences'

The only static member available on PreferenceManager is SetDefaultValues (and the ones from base Object).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions