Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Java
call method of another class without creating instance in java android
Artisan
Programming language:
Java
2021-03-30 14:07:14
4
Q:
call method of another class without creating instance in java android
Lans Tran
Code:
Java
2021-04-10 04:15:20
((BaseActivity) activity).showCart(); //
class
name
context
method
name
0
Tags
android
java
class
method
call
another
Related
how to make one java class inherit from another
java use method in another class
how to call a static method from another class in java
java call another constructor
how to use another class in java inside of an action listenrer
can i call another function from main hava
call method without creating object java
create object and call method in java
create instance object java
create object of static class in java
New to Communities?
Join the community