반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- vuetifyjs
- kotlin
- 동일 프로세스
- NUXT
- bucket cors
- sort
- sequelize
- c#
- f035d
- Android
- vuejs
- error
- bucket max-key
- Electron
- Vuetify
- 동일 프로그램
- electron-nuxt
- naver storage bucket error
- onsenui
- naver storage
- v-text-field height
- 프로세스 방지
- onsen-ui
- CSS
- MySQL
- v-select
- Vue
- nodejs
- xlsx
- JavaScript
Archives
- Today
- Total
목록sharedpreference (1)
앙큼한 개발기록
[android] kotlin에서 SharedPreference 사용하기
안드로이드에서 자동 로그인, 간단한 정보를 저장할때 사용되는 sharedpreperence를 이번에 object로 정리해 보았다. SharedPreferenceAccount.kt object SharedPreferenceAccount { const val ACCOUNT: String = "account" const val TOKEN: String = "account_token" const val IS_LOGIN: String = "account_is_login" fun setString(context: Context, key: String, value: String) { val prefs : SharedPreferences = context.getSharedPreferences(ACCOUNT, Conte..
개발/android
2023. 5. 17. 21:57