Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

call method of another class without creating instance in java android

((BaseActivity) activity).showCart();
 //class name    context    method name
 
PREVIOUS NEXT
Tagged: #call #method #class #creating #instance #java #android
ADD COMMENT
Topic
Name
4+8 =