Give a brief explanation on activity lifecycle and concept of content provider
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our W3Make Forum to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
In Android, activities are the basic building blocks of an app. They represent a single screen or window in your app. Activities have a lifecycle that consists of a number of states, including:
It is important to understand the activity lifecycle so that you can properly manage your app’s resources.
Content providers are a way for different parts of your app to access data that is stored in a central location.
Here are some of the benefits of using content providers: