From 9a0765834ff1639cf4d71227eab1458569f25497 Mon Sep 17 00:00:00 2001 From: Yann Leflour Date: Thu, 9 Jun 2016 17:19:47 +0200 Subject: [PATCH] Update README MainActivity needs import of Intent --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 053c48c..ef963a0 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ To allow android to respond to `click_action`, you need to define Activities and ``` and pass intent into package, change MainActivity.java ```java +import android.content.Intent; <--add this line next to the other imports + @Override <--add this line protected void onNewIntent(Intent intent){ <--add this line setIntent(intent); <--add this line to update intent on notification click -- 2.26.2