Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Scroll horizontal na listview

Bom dia 

@Felipe Aron, RecycleView chegou a um tempo atrás para substituir o ListView e GridView basicamente.

Sem falar que com ele vc pode mostrar uma grande quantidade de itens na tela enquanto ele minimiza o uso de memória. 

Então, tá mais do que certo focar nele.      

Em sex., 29 de jan. de 2021 às 09:37, Felipe Aron <felipearon@gmail.com> escreveu:
Achei o RecycleView muito melhor e mais fácil de implementar do que o Listview.

Vou começar a usar ele a partir de agora. Vou me aprofundar melhor nele.

Em qui., 28 de jan. de 2021 às 18:18, Carlos Alberto Pinto <caneto@gmail.com> escreveu:
Exatamente o que tive que fazer.

Carlos Alberto da C. P Neto

E-mail: caneto@gmail.com
 






Em qui., 28 de jan. de 2021 às 16:59, Felipe Aron <felipearon@gmail.com> escreveu:
Consegui resolver. Usei RecycleView, muito melhor que listView. 

Setei a orientação do layout para Horizontal:

RecyclerView.LayoutManager layout = new LinearLayoutManager(this, HORIZONTAL, false);
rvPhotos.setLayoutManager(layout);

Em qui., 28 de jan. de 2021 às 13:39, Carlos Alberto Pinto <caneto@gmail.com> escreveu:
Neste site tem varias classes https://android-arsenal.com/search?q=Scroll+horizontal

Só acho que em Listview, não rola. (Não consegui)

Carlos Alberto da C. P Neto

E-mail: caneto@gmail.com
 






Em qui., 28 de jan. de 2021 às 11:31, Felipe Aron <felipearon@gmail.com> escreveu:
Galera, qual a melhor forma de criar uma listview com scroll horizontal?

O que eu preciso é ter uma lista de imagens, que possa rolar horizontalmente.

--
Developer & Digital Marketer

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CADxjQn8mMkdRcR2xSvMnqKM5R3SvUM2P%3DcDfrGH0EG%2BynXKqmQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CAJGxN_mciYbsB2RL6VPXmukx%2BxBEmZPru4__3TUyK4y8joDqNg%40mail.gmail.com.


--
Developer & Digital Marketer

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CADxjQn_akaCwKBweiHvg%2BW3bK4A0wVu%2BCsnmfeMNzGy9QuMfxg%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CAJGxN_mcN0ocAGGKeo8sk-UftZKM6UkBQgiOzjPw2aqBD7JZTg%40mail.gmail.com.


--
Developer & Digital Marketer

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CADxjQn_CnPTeJAg0a-Zuic33etKeGFbez6%3DJgn651FmbZxe32g%40mail.gmail.com.


--
Rudson Lima ( live-O ) Desenvolvedor Android
Contato +55 85 87050560 - Fortaleza-ce
Social facebook | google+ | linkedin

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CAAJtjtfQwuuLw0JQDU%2BmnJixp1StCoXFY6bFmYKoRxX9%3D-3sfQ%40mail.gmail.com.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário