如何在 Xamarin.Android 中使用点滑块实现 ViewPagers? [英] How to implement ViewPagers with Dot Sliders in Xamarin.Android?

查看:26
本文介绍了如何在 Xamarin.Android 中使用点滑块实现 ViewPagers?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近正在学习 Xamarin.Android,我试图在过去几天的练习中使用点滑块来实现网页浏览器,但未能实现它,我参考了许多来自流行中心(如 stackoverflow 和 github)的解决方案,但未能实现所以.任何人都可以向我解释如何在 xamarin.android 中使用点滑块实现 viewpagers.我附上一张照片供您参考,这将使您清楚地了解我的要求.

I am learning Xamarin.Android recently, I was trying to implement pageviewers with dot sliders for my practice from the last few days but failed to implement it, I had refereed many solutions from popular hubs like stackoverflow and github but failed to do so. Can any one please explain me how to implement the viewpagers with dot sliders in xamarin.android. I am attaching a photo to this for your reference, which would give you a clear view on my requirement.

正如你所看到的,他正在使用我试图这样做的点滑块滑动页面.请向我解释如何在 Xamarin.Android(本机)中执行此操作

as you can see he is sliding the pages using the dot sliders i was trying to do so. Please explain me how to do it in Xamarin.Android (Native)

推荐答案

看看这个示例项目Android-ViewPagerIndicator to Xamarin.Android".您需要包含库,其中有多个实现可以在 viewpager 上显示指标.

Look at this the sample project 'Android-ViewPagerIndicator to Xamarin.Android'. You need to include the library, where there are multiple implementation to display the indicators on viewpager.

https://github.com/Cheesebaron/ViewPagerIndicator

这篇关于如何在 Xamarin.Android 中使用点滑块实现 ViewPagers?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆