In class a which extends MainScreen, I want to call b class which extends MainScreen also.
When I pass b.this into a function error shown No enclosing instance of the type b is accessible in
In class a which extends MainScreen, I want to call b class which extends MainScreen also.
When I pass b.this into a function error shown No enclosing instance of the type b is accessible in
Hi this is Very simple I will tell you simple way
Suppose you have two classes
1)screen1
2)screen2
screen1.java
screen2.java
Here you can use that screen1Object