Android/Retrofit2 썸네일형 리스트형 [안드로이드 Retrofit2] 시작하기 조건 및 설정 ㆍJava 7, Android 2.3 이상 ㆍ종속성 설정 1implementation 'com.squareup.retrofit2:retrofit:2.5.0'cs 간단한 Retrofit 생성 예제 ㆍ어노테이션은 요청을 처리하는 방법을 나타냅니다. 1234public interface GitHubService { @GET("users/{user}/repos") Call listRepos(@Path("user") String user);}Colored by Color Scriptercs ㆍGitHubService 인터페이스를 구현하여 Retrofit 객체를 생성합니다. 12345Retrofit retrofit = new Retrofit.Builder() .baseUrl("https://api.g.. 이전 1 다음