TranslateAPI
TranslateAPI copied to clipboard
Invalid input String error
You wrote this code in library.. But I dont understand why.. If result is a word that has 2 letters library gives this error.. This error occurs when I translate to Chinese:
if(temp.length()>2)
{
listener.onSuccess(temp);
}else {listener.onFailure("Invalid Input String");}
Please remove or change 2 to 0 in this code..