You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add Java APIs needed for WhatsApp MainActivity and ConversationActivity
This commit is contained in:
@@ -2,7 +2,15 @@ package android.text;
|
||||
|
||||
public interface Editable extends CharSequence {
|
||||
|
||||
public class Factory {}
|
||||
public class Factory {
|
||||
public static Factory getInstance() {
|
||||
return new Factory();
|
||||
}
|
||||
|
||||
public Editable newEditable(CharSequence source) {
|
||||
return new SpannableStringBuilder(source);
|
||||
}
|
||||
}
|
||||
|
||||
public Editable replace(int start, int end, CharSequence source, int destoff, int destlen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user