how to use retrofit in java code example Example: retrofit android implementation 'com.squareup.retrofit2:retrofit:2.9.0'