Skip to content

Simple pinch-to-zoom ImageView library for Xamarin.Android

License

Notifications You must be signed in to change notification settings

rightek/rightek.droid.spitzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rightek.Droid.Spitzer

Simple pinch-to-zoom ImageView library for Xamarin.Android

Basic Usage

using Rightek.Droid.Spitzer;

public class MyAdapter : PagerAdapter
{
    SpitzerAttacher _attacher;
    
    // ...
    
    public override Java.Lang.Object InstantiateItem(ViewGroup container, int position)
    {
        var view = _layoutInflater.Inflate(Resource.Layout.row_zoom, container, false);
        var myImageView = view.FindViewById<ImageView>(Resource.Id.myImageView);
        
        // black magic
        _attacher = new SpitzerAttacher(myImageView);
    }
}

Nuget nuget stats

PM> Install-Package Rightek.Droid.Spitzer

License

MIT


Made with ♥ by people @ Rightek

Releases

No releases published

Packages

No packages published

Languages