Questions tagged as 'listview'

2
answers

How to get record ID that is populated in ListView

How do I get the ListView ID? Here is my summarized code: UPDATE How do I get the LOG ID that is populated by SQLite in the ListView. public class MainActivity extends ActionBarActivity { private SQLiteDatabase database; privat...
asked by 04.02.2014 / 16:52
1
answer

Remove ListView item

Well I have a list, which has some items that the user creates. With this I'm also wanting to give an option to the user to remove the items so as not to accumulate, so I researched and found a way to use onItemLongClickListener to remove...
asked by 11.01.2015 / 23:46
1
answer

List grid and list view with bootstrap 4

I wonder if I can do this effect that clicks on the icon above and the thumbnail switch mode list for mogo grid with the bootstrap 4 I'm worrying on the internet some example ready more just think of the bootstrap 3     
asked by 22.05.2018 / 22:02
1
answer

LinkButton with Eval ListView asp.net

I want to do this <%# Eval("campo1").ToString() == "nada consta" ? "nada consta" : Eval("campo1")%> inside the linkButton <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl= '<%# "~/Promocao.aspx?ID="+Eval("...
asked by 15.06.2018 / 16:14
1
answer

Listview in another Activity

I have a Listview in my activity main when I click on a button, it adds data in my Listview , so everything is correct. How do I show this listview to another activity ? I show other data ( EditText ) wi...
asked by 16.11.2017 / 17:15
1
answer

Drag ListView item

Can anyone tell me how to drag a ListView item to one side or the other? Preferably a form that serves the Android / iOS Cross-Platform     
asked by 30.10.2017 / 02:54
1
answer

How to create a button for each item in a ListView that accesses a song

I wanted each item of ListView to play a song by clicking the button for each item, but when I click the button, it even plays, only the first song, the other songs in the list do not play. I used a% custom% in the main activity and my...
asked by 24.11.2017 / 19:27
1
answer

OnItemClickListener to open an activity

I'm having the following problem, I'm using a list view and a search view, and when I click on an item, I'd like to open an activity and display a toast. So far so good, when I search and click on item 2 instead of opening activity "2" from id "...
asked by 25.08.2017 / 22:40
1
answer

ListView inside a TabView with Firebase data

I'm trying to input data from the firebase into a listView that is already inside a TabView, but when I try to load the data from the firebase nothing comes. I started the ListView within the onCreateView method, like this: Firebase dref;...
asked by 14.06.2017 / 06:43
1
answer

How do I limit the number of rows in a listview

I have a listview which is adapted with a cursoradapter ... it selects everything from the database and adapt in my listview .... but I wanted to limit the amount of rows that appear in my listview ... more or less so .. wanted to select all the...
asked by 10.07.2017 / 03:14