Interface: I enter the word to text and then click on the button and in the output the result
public interface Link {
@FormUrlEncoded//аннотация
@POST("https://translate.yandex.net/api/v1.5/tr.json/translate")
Call<Object> translate(@FieldMap Map<String,String> map);
}
How to run a retrofit in the background thread?
I enter the word to text and then click on the button and in the output the result,simple translator, I test this library