---
title: "#companionobjects articles | Hashnode"
description: "Explore 1 articles tagged #companionobjects on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/companionobjects"
---

Tag

# #companionobjects

1 posts · 0 followers

[Android Expert](https://hashnode.com/@android-expert) · [1d ago](https://hashnode.com/posts/static-finally-moving-android-code-from-companion-objects-to-companion-blocks/6af4a6a0ae2fca06ce92fc37)

### [Static, Finally: Moving Android Code from Companion Objects to Companion Blocks](https://android-expert.hashnode.dev/static-finally-moving-android-code-from-companion-objects-to-companion-blocks?utm_source=hashnode&utm_medium=feed)

Companion blocks compile to static members, but migrating can break Java callers, R8 rules, reflection, and library releases.

10 min read · [android-expert.hashnode.dev](https://android-expert.hashnode.dev/static-finally-moving-android-code-from-companion-objects-to-companion-blocks?utm_source=hashnode&utm_medium=feed)
