{"id":17774080,"url":"https://github.com/yogeshpaliyal/android-curl-view-animation","last_synced_at":"2025-03-15T16:32:45.973Z","repository":{"id":115600827,"uuid":"115720195","full_name":"yogeshpaliyal/Android-Curl-View-Animation","owner":"yogeshpaliyal","description":"Android Curl View Animation Advance | JAVA | Kotlin","archived":true,"fork":false,"pushed_at":"2023-03-06T05:37:38.000Z","size":2071,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-18T22:16:23.173Z","etag":null,"topics":["android","animation","java","kotlin"],"latest_commit_sha":null,"homepage":"https://techpaliyal.com","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/yogeshpaliyal.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":"2017-12-29T12:19:54.000Z","updated_at":"2024-12-14T11:04:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"46d04ac5-ea11-4194-ac66-78097e6ec200","html_url":"https://github.com/yogeshpaliyal/Android-Curl-View-Animation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogeshpaliyal%2FAndroid-Curl-View-Animation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogeshpaliyal%2FAndroid-Curl-View-Animation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogeshpaliyal%2FAndroid-Curl-View-Animation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogeshpaliyal%2FAndroid-Curl-View-Animation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yogeshpaliyal","download_url":"https://codeload.github.com/yogeshpaliyal/Android-Curl-View-Animation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243760345,"owners_count":20343626,"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","animation","java","kotlin"],"created_at":"2024-10-26T21:49:39.493Z","updated_at":"2025-03-15T16:32:45.957Z","avatar_url":"https://github.com/yogeshpaliyal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android Curl View Animation\n\n[![](https://jitpack.io/v/yogeshpaliyal/Android-Curl-View-Animation.svg)](https://jitpack.io/#yogeshpaliyal/Android-Curl-View-Animation)\n\n**Step 1.** Add the JitPack repository to your build file \nAdd it in your root build.gradle at the end of repositories:\n```gradle\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n  ```\n  \n  **Step 2.** Add the dependency\n  ``` gradle\n  dependencies {\n\t        compile 'com.github.yogeshpaliyal:Android-Curl-View-Animation:-SNAPSHOT'\n\t}\n  ```\n  \n  **Step 3.** Add Curl View To Your Layout\n  ``` xml  \n\u003ctechpaliyal.com.curlviewanimation.CurlView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n\tapp:horizontal_two_page=\"false\"\n        android:id=\"@+id/curlView\"/\u003e\n```\n**Step 4.** Create Int Array (JAVA)\n```java \n Java        ArrayList\u003cInteger\u003e arrImages=new ArrayList\u003cInteger\u003e();\n \n Kotlin      var arrImages=ArrayList\u003cInt\u003e()\n ```\n **Step 5.** Load Array(Both Java \u0026 Kotlin)\n```java\n  arrImages.add(R.drawable.img1);\n  arrImages.add(R.drawable.img2);\n  arrImages.add(R.drawable.img3);\n  ...\n  ```\n  **Step 6.**\n  ```Kotlin\n  CurlActivity(this).load(curlView,array)\n  ```\n  \n  **Full Activity Code**\n  ```Kotlin\n  package techpaliyal.com.curlanimationlibrarytest\n\nimport android.support.v7.app.AppCompatActivity\nimport android.os.Bundle\nimport kotlinx.android.synthetic.main.activity_main.*\nimport techpaliyal.com.curlviewanimation.CurlActivity\n\nclass MainActivity : AppCompatActivity() {\n    var array=ArrayList\u003cInt\u003e()\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        setContentView(R.layout.activity_main)\n        array.add(R.drawable.img1)\n        array.add(R.drawable.img2)\n        array.add(R.drawable.img3)\n        array.add(R.drawable.img4)\n        array.add(R.drawable.img5)\n        \n        CurlActivity(this).load(curlView,array)\n    }\n}\n```\n\n**Source**\nhttps://github.com/harism/android_page_curl\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyogeshpaliyal%2Fandroid-curl-view-animation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyogeshpaliyal%2Fandroid-curl-view-animation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyogeshpaliyal%2Fandroid-curl-view-animation/lists"}