Open in app

Sign In

Write

Sign In

Jay Patel
Jay Patel

7 Followers

Home

About

Mar 3, 2021

Migration from SharedPreferences to EncryptedSharedPreferences in Android

Add the following dependency to your module-level build.gradle implementation "androidx.security:security-crypto:1.0.0-rc03" The existing implementation of PreferenceManager.java The new implementation with EncryptedSharedPreferences Add below methods to PreferenceManager.java which transfers all the existing prefs to encrypted shared prefs. Call migrateToEncryptedSharedPreferences() on app start to perform migration from SharedPreferences to EncryptedSharedPreferences.

Android

1 min read

Migration from SharedPreferences to EncryptedSharedPreferences
Migration from SharedPreferences to EncryptedSharedPreferences
Android

1 min read


Aug 25, 2020

Android Navigation Architecture Component with Bottom Navigation View Step by Step Implementation

Add Navigation Architecture Component & Material Design Dependencies //navigation architecture component implementation “androidx.navigation:navigation-fragment-ktx:2.3.0” implementation “androidx.navigation:navigation-ui-ktx:2.3.0” // material design implementation ‘com.google.android.material:material:1.2.0’ 2. Create Menu Resource for Bottom Navigation View (res/menu/menu_bottom_sheet_main.xml)

Android

2 min read

Android Navigation Architecture Component with Bottom Navigation View Step by Step Implementation
Android Navigation Architecture Component with Bottom Navigation View Step by Step Implementation
Android

2 min read

Jay Patel

Jay Patel

7 Followers
Following
  • Amit Shekhar

    Amit Shekhar

  • Daniel Galpin

    Daniel Galpin

  • Joe Birch

    Joe Birch

  • Kishore Subramanian

    Kishore Subramanian

  • Budhdi Sharma

    Budhdi Sharma

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech