How to lookup the no-compose demo project version.
Now,I had found this project was refeactor as compose,but I can't find no-compose implementation,please give me help about this issue.
To lookup the non-Compose (XML-based) version of a project that has since been refactored to Jetpack Compose, you can follow these steps:
Steps to Find the Pre-Compose Version (No-Compose)
- Browse Git History Check the Git commit history to find the point before the refactor to Compose.
Go to the project’s GitHub page.
Click on the "Commits" tab.
Example URL: https://github.com/
Look for commit messages like:
"Refactor to Jetpack Compose"
"Migrate from XML to Compose"
"Replace View-based UI with Compose"
Click on the commit before that change.
Use the Browse Files feature to see the source tree at that point.
- Use GitHub Tags / Releases (if available) Some projects use GitHub tags for versioning. Look for tags like:
v1.0, pre-compose, or legacy
Check out a release before the Compose migration.
Example:
git checkout tags/v1.0 3. Clone the Repo and Checkout an Older Commit
git clone https://github.com/
Look for a commit before Compose migration
git checkout <commit_hash> 4. Look for Legacy Branches Some maintainers keep the XML version in a separate branch, such as:
legacy-xml
pre-compose
no-compose
classic-ui
Browse branches:
git branch -r or check GitHub’s branch dropdown.
- Ask in Discussions or Issues If it's not obvious, you can also:
Open a GitHub Discussion or comment on the issue asking for the commit hash or tag.
Check if the original issue submitter or maintainer responded with a link.
Example for Jetpack Sample Projects If you're referring to official Android samples (like sunflower, android-topeka, etc.), older versions do exist in Git history.