[출처] 안드로이드X gradle 모음|작성자 getinthere
1. 구글 Material
material-components/material-components-android
Modular and customizable Material Design UI components for Android - material-components/material-components-android
github.com
implementation 'com.google.android.material:material:1.2.0-alpha02'
2. CircleImage
https://github.com/hdodenhof/CircleImageView
hdodenhof/CircleImageView
A circular ImageView for Android. Contribute to hdodenhof/CircleImageView development by creating an account on GitHub.
github.com
implementation 'de.hdodenhof:circleimageview:3.0.1'
3. Picasso 이미지 네트워킹
https://square.github.io/picasso/
Picasso
Introduction Images add much-needed context and visual flair to Android applications. Picasso allows for hassle-free image loading in your application—often in one line of code! Picasso . get (). load ( "http://i.imgur.com/DvpvklR.png" ). into ( imageView ); Many common pitfalls of image loading on ...
square.github.io
implementation 'com.squareup.picasso:picasso:2.71828'
4. Glide 이미지 네트워킹(이미지 저용량 필요할 때)
https://github.com/bumptech/glide
bumptech/glide
An image loading and caching library for Android focused on smooth scrolling - bumptech/glide
github.com
implementation 'com.github.bumptech.glide:glide:4.10.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
5. Retrofit2
https://square.github.io/retrofit/
Retrofit
Introduction Retrofit turns your HTTP API into a Java interface. public interface GitHubService { @GET ( "users/{user}/repos" ) Call < List < Repo >> listRepos ( @Path ( "user" ) String user ); } The Retrofit class generates an implementation of the GitHubService interface. Retrofit retrofit = new R...
square.github.io
implementation 'com.squareup.retrofit2:retrofit:2.6.2'
6. Gson 라이브러리
https://github.com/google/gson
google/gson
A Java serialization/deserialization library to convert Java Objects into JSON and back - google/gson
github.com
implementation 'com.google.code.gson:gson:2.8.6'
7. SwipeRefreshLayout (list 데이터 스와이프)
https://developer.android.com/jetpack/androidx/releases/swiperefreshlayout
Swiperefreshlayout | Android Developers
The Android Developer Challenge is back! Submit your idea before December 2. Android Developers Jetpack AndroidX Swiperefreshlayout 목차 버전 1.1.0-alpha02 버전 1.1.0-alpha01 버전 1.1.0-alpha02 2019년 7월 2일 androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02 가 출시되었습니다. 이 버전에 포함된 커밋은 여기 에서 확인할 수 있습니...
developer.android.com
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02'
8. Easy-Android-Splash-Screen (앱 로딩 화면)
https://android-arsenal.com/details/1/3514
Easy Splash Screen | Android-Arsenal.com
Splash Screens | Easy Splash Screen by Leonidas Maroulis (pantrif)
android-arsenal.com
implementation 'gr.pantrif:easy-android-splash-screen:0.0.1'
9. Android Architecture Components, AAC
https://developer.android.com/topic/libraries/architecture/adding-components
// LifeCycle def lifecycle_version = "2.0.0"
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
// Room def room_version = "2.2.0-beta01"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
프로젝트에 구성요소 추가 | Android Developers
The Android Developer Challenge is back! Submit your idea before December 2. Android Developers Docs 안내 프로젝트에 구성요소 추가 목차 종속성 선언 Kotlin Issue Tracker 버그를 수정할 수 있도록 문제를 신고해 주세요. 시작하기 전에 아키텍처 구성요소 앱 아키텍처 가이드 를 읽어보는 것이 좋습니다. 이 가이드는 모든 Android 앱에 적용되는 유용한 원칙을 다루며, 아키텍처 구성요소를 함께 사용하는 방법을 보여줍니다. 아키텍처 구성요소는...
developer.android.com
// LifeCycle def lifecycle_version = "2.0.0" implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version" annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version" // Room def room_version = "2.2.0-beta01" implementation "androidx.room:room-runtime:$room_version" annotationProcessor "androidx.room:room-compiler:$room_version"
MVVM 참고
https://blog.yena.io/studynote/2019/03/16/Android-MVVM-AAC-1.html
[Android] MVVM & 안드로이드 아키텍쳐 컴포넌트 시작하기
2019-03-16 in Studynote (나를 포함한) 안드로이드 개발을 처음 시작하는 사람들은 대부분 액티비티에 거의 모든 코드를 직접 넣는다. 하지만 시간이 갈수록 액티비티는 점점 무거워지고, 수정이나 유지 보수 하기가 힘들어진다. 흔히 비 구조적이고 유지보수가 어려운 코드를 스파게티 코드하고 하는데, 나의 첫 프로젝트는 스파게티에 라면 사리 다섯 개 정도 추가한 모습과 같았다. 때문에 디자인 패턴 공부의 필요성을 마음 깊이 느끼게 됐다. 이제 인싸 안드로이드 개발자라면 다들 MVVM에 DataBinding, Rx 등등은 숙...
blog.yena.io
10. roundedimageview
implementation 'com.makeramen:roundedimageview:2.3.0'
https://github.com/vinc3m1/RoundedImageView
vinc3m1/RoundedImageView
A fast ImageView that supports rounded corners, ovals, and circles. - vinc3m1/RoundedImageView
github.com
11. lombok
compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
https://projectlombok.org/setup/android
Android Android development with lombok is easy and won't make your android application any 'heavier' because lombok is a compile-time only library. It is important to configure your android project properly to make sure lombok doesn't end up in your application and waste precious space on android d...
projectlombok.org
12. Room 지속성 라이브러리
dependencies {
def room_version = "2.2.5"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version" // For Kotlin use kapt instead of annotationProcessor
// optional - Kotlin Extensions and Coroutines support for Room
implementation "androidx.room:room-ktx:$room_version"
// optional - RxJava support for Room
implementation "androidx.room:room-rxjava2:$room_version"
// optional - Guava support for Room, including Optional and ListenableFuture
implementation "androidx.room:room-guava:$room_version"
// Test helpers
testImplementation "androidx.room:room-testing:$room_version"
}
'안드로이드' 카테고리의 다른 글
Bottom Navigation (0) | 2020.07.16 |
---|---|
TabLayout, Viewpager(슬라이딩), Fragment (0) | 2020.07.15 |
안드로이드에서 lombok 쓰기 (0) | 2020.07.15 |
액션바(toolbar) - Inset 반응형 (0) | 2020.07.15 |
에뮬레이터 용량 많이 차지하니까 (0) | 2020.07.15 |