{"id":19508678,"url":"https://github.com/commit451/jounce","last_synced_at":"2025-04-26T02:34:01.650Z","repository":{"id":83213993,"uuid":"57338871","full_name":"Commit451/Jounce","owner":"Commit451","description":"Fancy debouncing","archived":false,"fork":false,"pushed_at":"2023-02-27T06:25:46.000Z","size":1265,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T07:04:33.753Z","etag":null,"topics":["android","debounce"],"latest_commit_sha":null,"homepage":null,"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/Commit451.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-04-28T22:55:49.000Z","updated_at":"2023-02-27T06:18:36.000Z","dependencies_parsed_at":"2023-03-01T20:31:22.769Z","dependency_job_id":null,"html_url":"https://github.com/Commit451/Jounce","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2FJounce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2FJounce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2FJounce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2FJounce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Commit451","download_url":"https://codeload.github.com/Commit451/Jounce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250922215,"owners_count":21508290,"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":["android","debounce"],"created_at":"2024-11-10T23:08:54.549Z","updated_at":"2025-04-26T02:34:01.344Z","avatar_url":"https://github.com/Commit451.png","language":"Java","readme":"# Jounce\nFancy debouncing\n\n[![Build Status](https://travis-ci.org/Commit451/Jounce.svg?branch=master)](https://travis-ci.org/Commit451/Jounce)\n[![](https://jitpack.io/v/Commit451/Jounce.svg)](https://jitpack.io/#Commit451/Jounce)\n\n# Usage\nSee the sample project for a comprehensive example.\nIn a simple form, it looks a little something like this:\n```java\nlong oneSecond = TimeUnit.SECONDS.toMillis(1);\n//Void, since we are not keeping track of a value\nfinal Debouncer\u003cVoid\u003e debouncer = new Debouncer\u003cVoid\u003e(oneSecond) {\n\n    @Override\n    public void onValueSet(Void value) {\n        Snackbar.make(getWindow().getDecorView(), \"Toolbar was clicked 1 second ago\", Snackbar.LENGTH_SHORT)\n                .show();\n    }\n};\ntoolbar.setOnClickListener(new View.OnClickListener() {\n    @Override\n    public void onClick(View v) {\n        //starts/restarts the deboucing\n        debouncer.setValue(null);\n    }\n});\n```\nThe sample shows usage within a RecyclerView, as well as usage for search ahead within an example search activity\n\nLicense\n--------\n\n    Copyright 2017 Commit 451\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommit451%2Fjounce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommit451%2Fjounce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommit451%2Fjounce/lists"}