
Dependency Injection 에 대해서 정리를 해보도록 하겠습니다 . https://developer.android.com/training/dependency-injection Android의 종속 항목 삽입 | Android 개발자 | Android Developers Android의 종속 항목 삽입 종속 항목 삽입(DI)은 프로그래밍에 널리 사용되는 기법으로, Android 개발에 적합합니다. DI의 원칙을 따르면 훌륭한 앱 아키텍처를 위한 토대를 마련할 수 있습니다. 종속 developer.android.com 일단 이 Dependency Injection의 뜻은 '의존성 주입' 이라는 뜻 입니다. 의존성이란 그럼 무엇인지에 대해 설명을 해보자면 일단 예를 들어보도록 하겠습니다 . Car ..

오늘은 앱 아키텍처에 대해 적어보겠습니다. https://developer.android.com/jetpack/guide 앱 아키텍쳐는 앱의 각 부분과 부분들이 가져야 할 역할의 경계를 정의한다. 앱의 크기가 커짐에 따라 앱의 확장 , 앱의 견고성 향상 , 테스트 용의성을 높일 수 있다. 일단 아키텍처의 설명을 해보자면 1. 집중도, 역할의 분리이다 . 코드들을 액티비티 또는 프래그먼트에 모두 쓰는 것은 일반적인 실수라고 할 수 있겠다. 이런 UI 기반 클래스(액티비티, 프래그먼트)에는 UI 및 운영체제 상호작용을 처리하는 로직만 포함을 하는 것이 좋고 이렇게 함으로써 라이프 사이클과 관련된 많은 문제를 피하고 테스트성이 용이해진다. 개발자는 액티비티와 프래그먼트를 만드는 사람이 아니다 . Android..

https://github.com/ GitHub: Where the world builds softwareGitHub is where over 73 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and feat...github.com GitHub을 이용하시려면 일단 회원가입을 해주세요~ 회원가입 후 1. Git을 설치.https://git-scm.com/downloads Git - DownloadsDownloads macOS Windows Linux/Uni..
Hilt, DataStore ,DataBinding 을 사용하여 아이디 비밀번호를 저장하는 예제입니다. HiltAndroidApp @HiltAndroidApp class App : Application() Repository interface DataStoreRepository { suspend fun getCheckBox(key: String): Boolean? fun login() suspend fun buttonClickListener(id: String, password: String, check: Boolean) } Domain class SaveDataStore @Inject constructor(private val context: Context) : DataStoreRepository { ..
오늘은 Android 의 Text To Sound 사용하기입니다. 안드로이드 스튜디오에서는 구글에서 제공되어지는 TTS 서비스가 있기 때문에 구현이 아주 쉽습니다! https://developer.android.com/reference/kotlin/android/speech/tts/TextToSpeech#isSpeaking() TextToSpeech | Android Developers android.net.wifi.hotspot2.omadm developer.android.com 자세한 메서드는 홈페이지에서 참조하여 더 사용하시길 바랍니다. class MainActivity : AppCompatActivity() { private var textToSpeech: TextToSpeech? = null o..

우선 1편을 안보신 분들은 1편을 봐주고 오세요~ (gradle 설정은 skip 하겠습니다) https://jangstory.tistory.com/50 [Android / Kotlin] Navigation 사용하기! 오늘은 안드로이드 스튜디오의 Navigation component 를 사용해보겠습니다!! 공식문서를 보고 개발하는 것을 추천합니다! https://developer.android.com/guide/navigation 탐색 | Android 개발자 | Android D.. jangstory.tistory.com Bottom navigation은 1편보다 훨씬 간단합니다! 바텀 네비게이션으로 사용할 프래그먼트를 만들어줍니다. 저는 HomeFragment , ChatFragment, MyPageF..
- Total
- Today
- Yesterday
- java
- 재귀함수
- app bundle
- node.js
- FCM
- android
- API
- error
- Kotlin
- 알고리즘
- listener
- ec2
- Crop
- direction
- Hilt
- ExoPlayer
- Flutter
- ios
- 코딩테스트
- retrofit
- bitmap
- flutter_new_badger
- ScrollView
- https
- Firebase
- Android Studio
- message
- Token
- GitHub
- Custom
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |