0

I downloaded signal open source sms app from https://github.com/WhisperSystems/Signal-Android on main activity there is overrided function onPreCreate() can anybody explain to me what does it do as this function is not included in the activity life cycle as explained in this link Android activity life cycle - what are all these methods for?.

Thanks in advance

Community
  • 1
  • 1
monofal
  • 1,928
  • 1
  • 13
  • 15
  • 1
    It's a method they define in their abstract base `Activity` classes. It's not part of the standard `Activity` lifecycle. – Mike M. Oct 19 '16 at 22:57

1 Answers1

0

@Nofi, my only experience with onPreCreate() is when using AsyncTasks. Perhaps it's a bit of code that needs to be run before the actual onCreate() method in order to secure whatever happens during the actual activity.

Ovidio Reyna
  • 146
  • 1
  • 9