android preference data1 [Android/Kotlin] Set Preference Screen and Send data to another Activity from preference Hello i m GOLD. this time i m going to make a preference screen in my app, and send a data to another activity. 1. add implementation first, we need to add implementation about preference in build.gradle(module: app) then we can use it. cool. 2. Create Options Menu in MainActivity(or some activity) i m going to override onCreateOptionsMenu and onOptionsItemSelected. in onCreateOptionsMenu, i m g.. 2020. 8. 7. 이전 1 다음 반응형