Answers for "android make method available without object"

0

call method of another class without creating instance in java android

((BaseActivity) activity).showCart();
 //class name    context    method name
Posted by: Guest on November-25-2020

Code answers related to "android make method available without object"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language