android-listview Questions
2
Solved
I'm building an app that loads images from JSON and displays them as grid view.
the problem is that there are hundreds of images and i want to load 20 each time,
I want to download more pictures f...
Tavie asked 28/11, 2013 at 23:53
4
Solved
I'm using this line below in order to set a strikethrough on my TextView:
tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
However later on in the Fragment, if they click the ...
Raouf asked 18/9, 2013 at 20:31
2
Solved
This is for a tablet running Android 4.4.2. I have a ListView with hundreds of items in it and about 20 are visible at a time. The user doesn't want the animation of smooth scrolling. How do I prog...
Windproof asked 31/3, 2015 at 17:35
13
Solved
There is a ListView in my App and the ListView has a selector. I want to make the first item of this ListView to be selected as default at the very startup of App, How? Can anyone give some tips? T...
Swerve asked 6/3, 2012 at 3:35
3
Solved
I have a ListView with checkbox:
Oncheckedchanged(..) is called when user check/uncheck item on listview
OncheckedChanged(..) called again when user click the listitem via onItemClick(.....)
Is...
Cyanamide asked 4/10, 2013 at 18:48
12
Solved
I have a ListView in my second activity.OnItemClick of it I called a webservice and trying to fetch data. And after that I am moving to third activity which also have a ListView having description ...
Axilla asked 24/9, 2012 at 5:46
1
Reordering of ListView items is quite easy on iOS. Now I would like to do the same thing on Android but it seems to be quite cumbersome: Item reorder is not supported by the SDK and one has t...
Payroll asked 17/6, 2014 at 7:58
3
Unable to compile this code and run. getting issue in lv.setAdapter(new VcAdapter (this));
kindly help. If I try to not pass (this), then code compile fine, but run time getting error stating conte...
Generalization asked 24/11, 2013 at 16:44
9
I am using the code below:
private Runnable returnRes = new Runnable() {
@Override
public void run() {
if(m_orders != null && m_orders.size() > 0){
m_adapter.notifyDataSetChanged()...
Silique asked 18/7, 2011 at 11:31
2
Solved
I am using List Activity to retrieve data from SQLITE. But I can not set the font size of list view. Please help me.
public class CartList extends ListActivity {
private ArrayList<String> r...
Constructivism asked 8/12, 2013 at 17:18
2
Solved
I am using navigation drawer in my app,I have fragments like F1,F2 and so on..and in every fragment I am parsing data and display in listview,everything is works fine if I go through my app like F1...
Conny asked 21/8, 2015 at 4:58
3
Solved
I am using a TextureView to play a video in a ListView. The TextureView itself works perfectly, however, if I press the home button and reenter the application a few times, the TextureView turns bl...
Boxhaul asked 21/7, 2015 at 15:18
4
Solved
In my application I have a view with a listview and searchbar to search in the listview. When you tap the searchbar it gets the focus and the soft keyboard turns up. When I touch the listview the k...
Handkerchief asked 25/4, 2012 at 14:23
3
Solved
I want to Refresh a ListView in a Fragment when a Dialog is closed. Until now the refresh only works when I restart the app and I don't really know why.
Here are the classes:
This is the Fragment...
Hamlen asked 7/6, 2013 at 18:25
7
I am new to android and using custom font for listview.I did not know how to use the typeface in a list view .I also tried with different examples but cant solve my problem .Here is my code
publi...
Panteutonism asked 11/9, 2013 at 6:37
5
I have a problem. I'm attempting to change an icon in my listview after it has been clicked. It works correctly although are not modified only the clicked icons but also those who are not displayed...
Globulin asked 21/7, 2014 at 12:31
5
Solved
I'm having a problem with the bottom of my ListView and ImageButton being cut off when I load my app onto a phone or when using an emulator. I could just use margins or padding, but wouldn't that b...
Privy asked 3/11, 2015 at 0:21
4
Solved
Guys I am in need of some help.I have been trying to implement a SearchView in my project.But my project contains a listview with a custom adapter attached to it..I have searched many sites but all...
Phosphoprotein asked 2/5, 2014 at 6:25
2
Solved
This problem is discussed in this question Android: Wrong item checked when filtering listview. To summarize the problem, when using a listview with a CursorAdapter and a filter, items selected on ...
Granado asked 22/2, 2012 at 17:31
4
I have created a row inside recycler view and inside that I have inflated two rows or more but when I scroll the items are getting used again.
I am not getting where to recycle view or remove them ...
Battologize asked 24/10, 2015 at 9:57
4
I want to add one more level of in ExpandableListView.In current ExpandableListView is two level how can i add one more level. I am new in android developing please help me. Thanks in advance!
My...
Desperate asked 1/10, 2015 at 5:50
5
Solved
hello i have created a listview with checkboxes in it...
but i dont know how to get the check box text which are selected.. here is the code of activity_main.xml
<LinearLayout xmlns:android="ht...
Mentalism asked 26/9, 2013 at 12:7
6
Solved
Is there a way to get the first visible View out of the ListView in Android?
I can get the data that backs the first View in the Adapter but it seems I can't get the first View in ListView.
I wa...
Eft asked 24/6, 2010 at 14:35
5
Solved
I have a ListView, where i changed appearence of row, but listview have size of one row, instead of fullscreen.
list_item.xml:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/a...
Variation asked 23/8, 2013 at 20:41
5
Solved
I am using Android Studio (Beta), and while using this java code in 'onCreateView()', I get an error.
ListView listView = (ListView) findViewById(R.id.someListView);
This is the error:
Non-stat...
Respirator asked 18/8, 2014 at 15:38
© 2022 - 2024 — McMap. All rights reserved.