Same Navigation Drawer in different Activities

I made a working navigation drawer like it’s shown in the tutorial on the developer.android.com website. But now, I want to use one Navigation Drawer, i created in the NavigationDrawer.class for multiple Activities in my Application. My question is, if anyone here can make a little Tutorial, which explains, how to use one Navigation drawer … Read more

Android – How To Override the “Back” button so it doesn’t Finish() my Activity?

I currently have an Activity that when it gets displayed a Notification will also get displayed in the Notification bar. This is so that when the User presses home and the Activity gets pushed to the background they can get back to the Activity via the Notification. The problem arises when a User presses the … Read more

How to prevent custom views from losing state across screen orientation changes

I’ve successfully implemented onRetainNonConfigurationInstance() for my main Activity to save and restore certain critical components across screen orientation changes. But it seems, my custom views are being re-created from scratch when the orientation changes. This makes sense, although in my case it’s inconvenient because the custom view in question is an X/Y plot and the … Read more

What’s the best manner of implementing a social activity stream? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 8 years ago. Improve this question I’m interested in hearing your opinions in which is the best way of implementing a social … Read more