{"id":15646369,"url":"https://github.com/3llomi/hidely","last_synced_at":"2025-02-27T22:15:21.928Z","repository":{"id":88917843,"uuid":"128467713","full_name":"3llomi/Hidely","owner":"3llomi","description":"Custom Views that can hide/show a View with some Animations (inspired by the Android FAB)","archived":false,"fork":false,"pushed_at":"2024-08-31T20:57:45.000Z","size":11232,"stargazers_count":48,"open_issues_count":1,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T21:11:15.391Z","etag":null,"topics":["animation","fab","hide-view-with-animation","ui","view"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3llomi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-04-06T20:33:24.000Z","updated_at":"2024-08-31T20:57:48.000Z","dependencies_parsed_at":"2024-10-03T12:15:02.655Z","dependency_job_id":"3a3b0204-b3ac-48f5-a42f-0ccd578b6344","html_url":"https://github.com/3llomi/Hidely","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3llomi%2FHidely","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3llomi%2FHidely/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3llomi%2FHidely/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3llomi%2FHidely/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3llomi","download_url":"https://codeload.github.com/3llomi/Hidely/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241027371,"owners_count":19896722,"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":["animation","fab","hide-view-with-animation","ui","view"],"created_at":"2024-10-03T12:12:36.406Z","updated_at":"2025-02-27T22:15:21.901Z","avatar_url":"https://github.com/3llomi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hidely\nCustom Views that can hide/show a View with some Animations (inspired by the Android FAB)\n\n\n## Demo\n\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"etc/scroll-example.GIF\" width=\"250\" /\u003e\n  \u003cimg src=\"etc/simple-example.GIF\" width=\"250\" /\u003e \n  \u003cimg src=\"etc/chooser-example.GIF\" width=\"250\" /\u003e\n\u003c/p\u003e\n\n\n## Install\nAdd this to your project build.gradle\n\n```\nallprojects {\n    repositories {\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\nAdd this to your module build.gradle\n\n```gradle\ndependencies {\n    implementation 'com.github.3llomi:hidely:1.0'\n}\n```\n\n\n## Usage\n\n## Basic Usage\nuse one of the following `Hidely` Views \n\n* `HidelyButton`\n* `HidelyImageButton`\n* `HidelyImageView`\n* `HidelyView`\n\n\n* `HidelyFrameLayout`\n* `HidelyRelativeLayout`\n* `HidelyLinearLayout`\n\n## OR \n\nif you want to make your own custom view then :\n\n1. make your own custom view and make it **implements**  `HidelyInterface` this will give you the 4 methods `show()` , `hide()` ,`isShowing()` and `setAnimationCallbacks()`\n2. make an Object from `HidelyCore` and pass the view as a Parameter:\n`hidelyCore = new HidelyCore(this);`\n3. fill the 4 methods with hidely core like this\n\n```java\n\n   @Override\n    public void show() {\n        if (hidelyCore != null)\n            hidelyCore.show();\n    }\n\n    @Override\n    public void hide() {\n        if (hidelyCore != null)\n            hidelyCore.hide();\n    }\n\n    @Override\n    public boolean isShowing() {\n        return hidelyCore == null ? false : hidelyCore.isShowing();\n    }\n\n    @Override\n    public void setAnimationCallbacks(HidelyAnimationCallbacks animationCallbacks) {\n        hidelyCore.setAnimationListener(animationCallbacks);\n    }\n\n```\n\n### XML\n\n```xml\n\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cRelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    tools:context=\".SimpleExample\"\u003e\n\n    \u003ccom.devlomi.hidely.hidelyviews.HidelyImageButton\n        android:id=\"@+id/simple_example_hidely\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_centerInParent=\"true\"\n        android:background=\"@drawable/circle_bg\"\n        android:padding=\"50dp\"\n        android:src=\"@drawable/ic_add\" /\u003e\n\n\n\n    \u003cButton\n        android:id=\"@+id/change_button_state\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_below=\"@id/simple_example_hidely\"\n        android:layout_centerHorizontal=\"true\"\n        android:layout_marginTop=\"8dp\"\n        android:text=\"CHANGE BUTTON STATE\" /\u003e\n\n\u003c/RelativeLayout\u003e\n\n\n```\n\n\n### Java\n\n```java\n\n        HidelyImageButton hidelyImageButton = findViewById(R.id.simple_example_hidely);\n        Button changeButtonState = findViewById(R.id.change_button_state);\n\n        changeButtonState.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View view) {\n                //check if button is Showing\n                if (hidelyImageButton.isShowing())\n                //hide button\n                    hidelyImageButton.hide();\n                else\n                //show button\n                    hidelyImageButton.show();\n            }\n        });\n\n```\n\n### Listen for Animation Callbacks\n\n```java\n\n hidelyImageButton.setAnimationCallbacks(new HidelyAnimationCallbacks() {\n            @Override\n            public void onAnimationStart() {\n                \n            }\n\n            @Override\n            public void onAnimationEnd() {\n\n            }\n        });\n        \n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3llomi%2Fhidely","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3llomi%2Fhidely","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3llomi%2Fhidely/lists"}