android - listview with hidden alternate row -


for posttible create layout listview 2 little row row second 1 hidden , if click first 1 second 1 appear?

in javascript use this

`<script language="javascript"> <!-- function mostra(){ document.getelementbyid('testo').style.display=''; } function nascondi(){ document.getelementbyid('testo').style.display='none';} //--> </script>  <script language="javascript"> <!-- function mostra(){ document.getelementbyid('testo').style.display=''; } function nascondi(){ document.getelementbyid('testo').style.display='none';} //--> </script>` 

but don't know how make in android studio.

i think taking listview expandable option.you might want take @ android expandable listview https://www.androidhive.info/2013/07/android-expandable-list-view-tutorial/ or can take @ expandable recylerview https://robots.thoughtbot.com/introducing-expandablerecyclerview hope helps.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -