In android, how can I create a constructor for a class which is also an Activity?
constructor
class
Activity
My problem is,
I want to have two activity cl
I tried to instantiate Activity inside itself to pass it to a method of another class. I got OutOfMemoryError. So I had that method inside Activity itself and passed it as this object.