Questions tagged as 'android'

2
answers

How to fill recyclerview with cursor

Hello everyone I have implemented a sqlite, I returned the complete list in a course, before I filled it in a listview, but now I want to fill it in a recycler view. I do not know where to start, to know if the cursor that I have serves me to...
asked by 02.05.2017 / 17:58
1
answer

Error: Duplicate entry when creating the apk

I have this error in Android Studio when I try to generate the apk    Error: Execution failed for task ': app: transformClassesWithJarMergingForDebug'.   com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplica...
asked by 31.05.2017 / 04:43
1
answer

Manage listview and sqlite instance

I come with a small problem in my application, I use android studio for development, what happens is that I have 3 activities: In SELECT I choose an option by means of a spinner and by checkbox , I generate a query that I kee...
asked by 31.05.2017 / 06:02
1
answer

How to get a listview position with a button?

I have implemented a listview with sqlite, but the setOnItemClickListener event of the listview does not work, so I want to obtain the item position, from an ImageView (img_btn_next_client) within the item that inflates to the listview. This...
asked by 01.05.2017 / 15:42
0
answers

Why do elements move within an Android listview and aamarin?

I am developing an android application in xamarin chat type that shows the text in bubble form making use of BubbleView (Nuget), the problem is that in execution if you move the scroll the messages that are left are passed to the right and vice...
asked by 05.05.2017 / 03:19
0
answers

RecyclerView (GridLayoutManager) does not display the data correctly (Android)

I'm trying to show some data in a recyclerview (gridLayoutManager). The data is loaded correctly, but when I scroll, it starts to paint badly. Some data disappears, others that were not shown now are displayed. Imagining that the problem came...
asked by 29.04.2017 / 14:08
0
answers

Comparator when sorting affects all lists

In short it would be: public class TabProchesFragment extends Fragment { private static final String TAG = "TabProchesFragment"; private RecyclerView mRecyclerView; private RecyclerViewAdapter_Restaurant_MasProximos mRecyclerVi...
asked by 30.04.2017 / 13:39
0
answers

Fragments with Navigation Drawer

How can I add a navigation drawer to a fragment. I need to be able to load a minor hamburger into a fragment, which can in turn load other fragments depending on the selection without losing the navigation menu. I have seen that in android st...
asked by 04.05.2017 / 14:34
1
answer

Help, I need to insert a value that comes from a putextra, adroid studio and mysql

// THIS IS MY ACTIVITY FROM INSERTING USER The value is an extra put, loguser, it shows me the value on the screen but it does not register it in the database. protected void onCreate(Bundle savedInstanceState) { super.onCreate(sav...
asked by 25.05.2017 / 21:47
0
answers

How to get specific data of a node in Firebase, or the specific Data of a Java Object

I have these nodes, each of these nodes contains data, They are structured in this way In the "MainActivity" I have a map, on the map there are three markers Each one of these markers contains data which are so I rescue the dat...
asked by 05.05.2017 / 02:47