Last active
March 14, 2022 15:30
-
-
Save gokmenbayram/c631b9f4a695f8449df862493e274bf1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun prepareCountryRecycler() { | |
countryRecyclerAdapter = CountryRecyclerAdapter() | |
countryRecyclerAdapter.stateRestorationPolicy = RecyclerView.Adapter.StateRestorationPolicy.PREVENT_WHEN_EMPTY | |
binding?.countryRecycler?.adapter = countryRecyclerAdapter | |
} | |
/* | |
Aşağıdakini build.gradle(:app)'e eklemeyi unutmayın! | |
- implementation "androidx.recyclerview:recyclerview:$latestVersionNumber" | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment