# Advocating Against Android Fragments

DevFeed: [Advocating Against Android Fragments](<https://devfeed.tech/articles/advocating-against-android-fragments-15493.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/advocating-against-android-fragments>)

Author: P-Y Ricau

Published: 2014-10-08T16:07:00Z

Content type: opinion

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [coding](<https://devfeed.tech/topics/coding.md>)

Tags: [alternatives](<https://devfeed.tech/tags/alternatives.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [android](<https://devfeed.tech/tags/android.md>), [debug](<https://devfeed.tech/tags/debug.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [fragments](<https://devfeed.tech/tags/fragments.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

## AI overview

This opinion article explains why Square moved away from Android fragments. It argues that their complex lifecycle, difficult debugging, and close coupling of view-related code with business logic made fragments harder to maintain and test, and discusses alternatives.

## Source excerpt

Alternatives for dealing with (painful) Android fragments.