Add log.d hint (#26334)

This commit is contained in:
Hamza Muric
2018-12-26 17:29:05 +01:00
committed by Christopher McCormack
parent 68bacae502
commit 36656e35c9

View File

@ -47,6 +47,9 @@ An _activity_ is a component that has a user interface and represents a single s
This call is often used when the user hits the back button, or closes the instance of the app. This call is often used when the user hits the back button, or closes the instance of the app.
#### Sample code to understand Activity Lifecycle #### Sample code to understand Activity Lifecycle
You can print in log console using Log.d() method.
``` java ``` java
import android.app.Activity; import android.app.Activity;
import android.os.Bundle; import android.os.Bundle;