How do I use a method from one class in another class in Android Studios?
This is the class I want to use in another class:
public class OutputString {
public String outputHTML(String value ){
value=value.replace("\\'", "'");
value=value.replace("\n\n", "\n");
return value;
}
}
String val = new OutputString().outputHTML("val");
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments