{"id":15145771,"url":"https://github.com/soundcloud/lightcycle","last_synced_at":"2025-04-12T18:38:43.244Z","repository":{"id":21398313,"uuid":"24716200","full_name":"soundcloud/lightcycle","owner":"soundcloud","description":"LightCycle lets self-contained classes respond to Android’s lifecycle events","archived":false,"fork":false,"pushed_at":"2024-02-06T16:36:53.000Z","size":496,"stargazers_count":703,"open_issues_count":6,"forks_count":48,"subscribers_count":136,"default_branch":"master","last_synced_at":"2025-04-03T19:17:02.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://soundcloud.github.io/lightcycle/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soundcloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-02T11:20:35.000Z","updated_at":"2025-02-20T16:44:49.000Z","dependencies_parsed_at":"2024-02-06T17:54:03.252Z","dependency_job_id":null,"html_url":"https://github.com/soundcloud/lightcycle","commit_stats":{"total_commits":162,"total_committers":19,"mean_commits":8.526315789473685,"dds":0.6666666666666667,"last_synced_commit":"35207504e3785d7c162189f51d475ba75fbd81cb"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Flightcycle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Flightcycle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Flightcycle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Flightcycle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soundcloud","download_url":"https://codeload.github.com/soundcloud/lightcycle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248615997,"owners_count":21133988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-26T11:42:43.334Z","updated_at":"2025-04-12T18:38:43.225Z","avatar_url":"https://github.com/soundcloud.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LightCycle\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.soundcloud.lightcycle/lightcycle-lib/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.soundcloud.lightcycle/lightcycle-lib) [![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)](http://www.apache.org/licenses/LICENSE-2.0) [![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html)\n\nLightCycle is an Android library that helps break logic out of `Activity` and `Fragment` classes into small, self-contained components called LightCycles.\n\nFields that are annotated `@LightCycle` and implement the LightCycle API within a `LightCycleActivity` or `LightCycleFragment` will be bound to that `Activity` or `Fragment` lifecycle. \n\nFor more information please see the [website](http://soundcloud.github.io/lightcycle/).\n\n## Examples\n\n- [basic](https://github.com/soundcloud/lightcycle/tree/master/examples/basic)\n- [\"real world\"](https://github.com/soundcloud/lightcycle/tree/master/examples/real-world)\n\n## Build integration \n\nGradle:\n\n```gradle\next.lightCycleVersion=\u003cLATEST_VERSION\u003e\n\ndependencies {\n  compile \"com.soundcloud.lightcycle:lightcycle-lib:$lightCycleVersion\"\n  annotationProcessor \"com.soundcloud.lightcycle:lightcycle-processor:$lightCycleVersion\"\n}\n```\n\nOr if you're using a version of the Android gradle plugin below `2.2.0`\n\n```gradle\nbuildscript {\n  dependencies {\n    classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'\n  }\n}\n\napply plugin: 'com.neenbedankt.android-apt'\n\next.lightCycleVersion=\u003cLATEST_VERSION\u003e\n\ndependencies {\n  compile \"com.soundcloud.lightcycle:lightcycle-lib:$lightCycleVersion\"\n  apt \"com.soundcloud.lightcycle:lightcycle-processor:$lightCycleVersion\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Flightcycle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoundcloud%2Flightcycle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Flightcycle/lists"}