JakeWharton / ViewPagerIndicator

Paging indicator widgets compatible with the ViewPager from the Android Support Library and ActionBarSherlock.
http://viewpagerindicator.com
10.13k stars 4.01k forks source link

request: allow to show via UI designer #405

Open AndroidDeveloperLB opened 8 years ago

AndroidDeveloperLB commented 8 years ago

maybe add isInEditMode , to show the indicators even in UI designer? currently it shows nothing there...

hackware1993 commented 8 years ago

@AndroidDeveloperLB https://github.com/hackware1993/MagicIndicator, have a try.

AndroidDeveloperLB commented 8 years ago

@hackware1993 Nice, but a lot of this repo isn't in English. Also, it doesn't get to show in the UI designer, according to what I saw: maxthonsnap20160728102244

hackware1993 commented 8 years ago

@AndroidDeveloperLB just run demo to see results.

AndroidDeveloperLB commented 8 years ago

@hackware1993 This won't cause the IDE to show it. It will cause the device to show it. The request is that I will be able to see the indicators in the IDE itself. Not the device.

hackware1993 commented 8 years ago

@AndroidDeveloperLB so funny request...

AndroidDeveloperLB commented 8 years ago

@hackware1993 No, it's a valid request. It's a view, so it should be possible to see it, or at least a placeholder for it, instead of seeing errors covering the entire UI designer and making it un-usable.

hackware1993 commented 8 years ago

@AndroidDeveloperLB Oh, it seems that most third-party ui libs don't suport this.

AndroidDeveloperLB commented 8 years ago

@hackware1993 So tell them to support it. It's a basic thing to request for a custom view. Also shown in many tutorials .