[Solved] How to add values from sharedpreferences to cardview in android?


You can get value by using this and later on you can bind with your componant

Context context = getActivity();
    SharedPreferences sharedPref = context.getSharedPreferences(
            getString(R.string.preference_file_key), Context.MODE_PRIVATE);

0

solved How to add values from sharedpreferences to cardview in android?