{"id":13711044,"url":"https://github.com/mariusmuntean/BeforeAndAfter","last_synced_at":"2025-05-06T20:31:39.315Z","repository":{"id":144135071,"uuid":"197960098","full_name":"mariusmuntean/BeforeAndAfter","owner":"mariusmuntean","description":"Xamarin.Forms custom control showing a before-and-after view","archived":false,"fork":false,"pushed_at":"2022-11-06T21:27:50.000Z","size":5195,"stargazers_count":25,"open_issues_count":2,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-01T17:16:42.012Z","etag":null,"topics":["csharp","custom-control","xamarin-forms"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mariusmuntean.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"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":"2019-07-20T17:11:12.000Z","updated_at":"2023-09-01T08:33:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"06a58342-68a2-4151-a7c1-00ea2bd2f927","html_url":"https://github.com/mariusmuntean/BeforeAndAfter","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/mariusmuntean%2FBeforeAndAfter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariusmuntean%2FBeforeAndAfter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariusmuntean%2FBeforeAndAfter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariusmuntean%2FBeforeAndAfter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mariusmuntean","download_url":"https://codeload.github.com/mariusmuntean/BeforeAndAfter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252764361,"owners_count":21800680,"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":["csharp","custom-control","xamarin-forms"],"created_at":"2024-08-02T23:01:03.862Z","updated_at":"2025-05-06T20:31:38.536Z","avatar_url":"https://github.com/mariusmuntean.png","language":"C#","funding_links":[],"categories":["UI"],"sub_categories":[],"readme":"## BeforeAndAfter\r\n\r\nA custom control that displays a before-and-after view of something. You usually provide two images and overlap them.\r\n\r\nGet it from NuGet: [![NuGet](https://img.shields.io/badge/BeforeAndAfter-NuGet-brightgreen.svg?style=popout)](https://www.nuget.org/packages/BeforeAndAfter/)\r\n\r\nHere's a quick rundown of the control's features:\r\n\r\n* Specify the before and after views. These can be whatever Xamarin.Forms views you want, in the sample I'm using two normal Image controls.\r\n* OPTIONAL: provide your own thumb control. Have a look at the sample, I'm using a material design icon.\r\n\r\n## Known Limitations\r\n\r\nOn iOS you might have jittery movement.\r\nJust add thesetwo lines to your App.xaml\r\n\r\n             xmlns:ios=\"clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core\"\r\n             ios:Application.HandleControlUpdatesOnMainThread=\"true\"\r\n\r\nHere's a gif of the included sample app:\r\n\r\n![Sample](media/BeforeAndAfterSample.gif)\r\n\r\nInspired by: https://github.com/xsahil03x/before_after/tree/master/example\r\n\r\n\r\nAs usual you can do everything you want with my code. Have fun!\r\n\r\nHave a question?  Tweet at me: https://twitter.com/MunteanMarius\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariusmuntean%2FBeforeAndAfter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariusmuntean%2FBeforeAndAfter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariusmuntean%2FBeforeAndAfter/lists"}