Skip to content

Instantly share code, notes, and snippets.

View lirta's full-sized avatar
🏠
Working from home

lirta padisma lirta

🏠
Working from home
View GitHub Profile
@lirta
lirta / ApiClient.java
Created January 14, 2020 22:37 — forked from haerulmuttaqin/ApiClient.java
Android CRUD Tutorial | • RETROFIT • PHP • MYSQL (https://youtu.be/Vh92eSAEu5c)
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class ApiClient {
private static final String BASE_URL = "http://your-domain-name.000webhostapp.com/";
private static Retrofit retrofit;
public static Retrofit getApiClient() {