Skip to content

a scrollview Imitation ios uiscrollview,make it support sroll weiget when zoom

License

Notifications You must be signed in to change notification settings

georgeyang1024/pointScrollView

Repository files navigation

PointScrollView

a scrollview Imitation ios uiscrollview,make it support sroll weiget when zoom

Effect
weiget Effect

Usage

To use PointScrollView, use the Builder pattern.

As an example:

 PointScrollView mapview = (PointScrollView) findViewById(R.id.mapview);
 mapview.setMap("map_stadium.jpg");
 mapview.drawPoint(point.x,point.y,point.getDrawableRes(this),point);
 mapview.removeAllViews();//remove all points(except map)
 mapview.setOnPointClickListener(new PointScrollView.OnPointClickListener() {
     @Override
     public void onCick(View pointView, Object point) {
     PlayGroundPoint clickPoint = (PlayGroundPoint)point;
     Toast.makeText(getApplicationContext(),"clickPoint:" + clickPoint.description,Toast.LENGTH_SHORT).show();
     }
 });

Copyright and Licensing

Copyright george.yang (my log) © 2014-2015. All rights reserved.

This library is distributed under an MIT License.

About

a scrollview Imitation ios uiscrollview,make it support sroll weiget when zoom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages