---
title: "What is onResume() and where should we call this method?"  
description: "What is onResume() and where should we call this method?"  
author: "Anonymous User"  
published: 2015-09-11  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/22820/what-is-onresume-and-where-should-we-call-this-method  
category: "android"  
tags: ["android", "android activity"]  
reading_time: 1 minute  

---

# What is onResume() and where should we call this method?

onResume() method is an activity life cycle method. This is called when the activity come to foreground. You can override this method in your activity to execute code when activity is started, restarted or comes to foreground.

## Answers

### Answer by Anonymous User

onResume() method is an activity life cycle method. This is called when the activity come to foreground. You can override this method in your activity to execute code when activity is started, restarted or comes to foreground.


---

Original Source: https://www.mindstick.com/interview/22820/what-is-onresume-and-where-should-we-call-this-method

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
