android-listview Questions

3

Solved

I get some error I don't know why. I'm populating ListView with array adapter from string in fragment. I'm using this fragment as main screen to be shown in main activity This is my code public cl...

3

Solved

Hey i use a listview for demonstrate entries which are stored in a database. I also have a EditText element and a button which adds the content of the EditText into the Database. To bind the view t...
Wake asked 21/11, 2011 at 14:17

2

I'm using a text filter on a ListView and I'd like to get rid of the popup view that shows what the filter text is. Is there any way to remove this view? Some example code: ArrayList<String&g...
Poeticize asked 3/11, 2011 at 17:13

2

I have a ListView which contains a few TextView's arranged using a custom adapter. What I would like to do, is implement pinch-to-zoom on this ListView, so that when the user pinches, they can inc...
Bandler asked 19/11, 2011 at 19:5

4

How may I get all children of an item of ListView ? There are methods to get child at position but I was not able to find any method which returns collection of all children in an item of ListView....
Haslett asked 13/9, 2014 at 9:22

1

I'm using widget with listview that has 3 types of items. For each type of item I should use different pending intents. Currently I'm using following code: public class MyWidgetProvider extends Ap...
Heartache asked 22/8, 2014 at 6:57

1

I have [main]Fragment with two ViewPagers in it. Each ViewPager contains several Fragments in it. ViewPager's Fragments obtain data into their ListViews from [main]Fragment. I need to update data i...

9

Solved

I'm implementing an endless listview by loading more items to the arraylist in the onScrollStateChanged(...) method. If I'm implementing this scheme for fetching more than 1 million entries, I will...
Pendleton asked 10/3, 2014 at 9:15

4

Solved

How can I make a listview as follows: and one more question about row layout, i have such layout <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schem...
Resolved asked 21/1, 2014 at 20:42

1

Solved

When I try to scroll through a scrollView or listView the Android Emulator automatically scrolls down to the very end of the view. It's impossible to scroll up again, because it just scrolls down a...

3

Solved

I have an android app with a screen that comprises of a ListView, which I am using to display a list of devices. These devices are held in an array. I am trying to use the ArrayAdapter to display...

3

Solved

I have a ListView in which each item represents a PDF file. When the user clicks on an item, the application must download the file on external storage. Now the download doesn't work properly, but ...

3

Solved

I have a ListView backed by a custom adapter based on a CursorAdapter. The cursor I give it is based on a list of Notes in the database (each note is a DB row). Everything works just fine until I...
Recoverable asked 16/8, 2010 at 18:33

3

Solved

whenever you update a GridView/ListView you call notifyDatasetChanged on the adapter which re-populates the the list with the new data removing everything that was currently in the list. now take ...
Catlaina asked 19/8, 2014 at 0:22

3

I have divided my android screen into 2 fragements .In the first one I make a listview from server database to android mobile.The problem is that I can't call getview method in the base adapter cla...

1

Solved

I need to create a ListView and show more detailed layout only for the selected row in order to show more information to the costumer. What I tried is below: newsListView.setAdapter(new NewsListAd...
Purgation asked 17/8, 2014 at 8:17

1

Solved

I have a problem, because getTag() method returns me null when I call it in fragment which is a part of a ViewPager Tab Layout I created. Code import java.util.ArrayList; import android.os.Bundle;...

2

Solved

Im trying to create a ToDo list. I will admit Im still learning how to use fragments but I think my problem is a conflict with how fragments are designed. Right now I have a fragment for tasks. Whe...
Enforcement asked 11/8, 2014 at 20:30

0

Background Note: I've been using listViews for ages, so I'm very familiar with how to work with adapters, ViewHolders, etc... so this issue doesn't make sense for me. This time I got into a very ...
Catchment asked 11/8, 2014 at 12:29

0

I am relative new to Android development. I am working on an app where it is a specific client requirement that I have a scrollable list of videos. These videos must be playable within the scrollin...

7

Solved

I'm trying to implement swipe to delete and in a ListView using the SwipeToDismissUndoList library which extends Roman Nurik's SwipeToDismiss sample. My issue is in the delete animation. Since the...
Renwick asked 18/3, 2013 at 0:41

5

Solved

I have a customized ListView. Each row has an EditText, Buttons & TextView. In order to make the ListView items clickable I have kept android:descendantFocusability="blocksDescendants" for row ...
Vituline asked 20/12, 2013 at 5:0

0

I have a ListItem having a person name e.g. ABCD and a RadioGroup having two RadioButtons. In my bindView() when i click any of RadioButton, it should update the data whose name is ABCD. But its on...

1

Solved

I have a listView with about 20 items (dynamic items). I want to animate these items first they show up to user. something like Google+ cards. There are some points that I want to achieve: items ...
Kip asked 7/8, 2014 at 22:52

4

Solved

I am having textview txtQuantity in my dashboard activity. I wrote separate class for custom adapter which will contain sold products. protected void onCreate(Bundle savedInstanceState) { super....
Osteotome asked 7/8, 2014 at 16:15

© 2022 - 2024 — McMap. All rights reserved.