开发者

WebView and Gallery in android

开发者 https://www.devze.com 2023-01-28 08:31 出处:网络
I have a Gallery and a few images stored in it. On selecting the images i want some URL s to get opened on the top of this gallery(As a web view only).

I have a Gallery and a few images stored in it.

On selecting the images i want some URL s to get opened on the top of this gallery(As a web view only). For example If i click on a particular image i need a url to get opened. I tried using ViewSwitcher and since I am a begginner i couldn move further.

Can someone tell if this is possible or suggest me开发者_如何学编程 the ways?


Check this link.

You basically need to use setOnItemClickListener and there add the code to lunch an url with an Intent.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号