1

I am new in Android platform.How to create different types of constructors (overloaded) of a particular Activity.. Is it similar to java or any difference is there? Anyone can help me please?

overbet13
  • 1,654
  • 1
  • 20
  • 36
avinash
  • 5
  • 1
  • 3

2 Answers2

3

I don't see why you would like to create different constructors for an activity. You should read about activity lifecycle (example), and then how to create an activity from another activity (example).

This should resolve your problem.

Community
  • 1
  • 1
overbet13
  • 1,654
  • 1
  • 20
  • 36
2

It's just Java and you do in fact create classes derived from Activity. If you were able to install the tools, then you're resourceful enough to go through any one of these fine tutorials:

Yusuf X
  • 14,513
  • 5
  • 35
  • 47