Use headless Fragment for Android M run-time permissions and to check network connectivity

In this article you’ll know the main difference between regular fragments and headless fragments. Also you’ll know that headless fragments are the great alternative for base activities to hold common code in your app. At the end of the article you’ll find examples where headless fragments are used for Android M runtime permissions and to check availability of network connection.

Link to the article: Use headless Fragment for Android M run-time permissions and to check network connectivity

Leave a Reply

Your email address will not be published. Required fields are marked *