Hi I’m implementing a simple search where it will filter based on if the text is the same as the record in the database but I’m having this error could someone help me? Using equalsTo I can’t open the fragment it just breaks when trying to open the fragment, what am I doing wrong? Any help i…
Tag: android
Recyclerview is not dispaying the image
I am using this code to display a preset image in recyclerview, but for some reason it wont display. If anyone has any fixes I would be greatly indebted to them if they share it. My Main Activty: …
Null pointer Exception on Recycler View On item click listener Activity Close when item got clicked
Hello I am new in Android development I have tried different way to show data in RecyclerView from firebase. At first I set on click listener on item of RecyclerView and it work’s fine but After that I make some changes in code now I am trying to test it’s showing Null Exception pointer but I didn…
Android Studio 4.1 Stuck at loading screen in Mac
My Android Studio has been stuck at loading screen since yesterday. X_X What I have tried: Restarting computer. Clearing junk files and logs. Completely uninstall and then Reinstalling AndroidStudio. Followed many different solutions (e.g: one of it is here). But still doesn’t work. Excerpt from the sol…
How to run python voice recognition script in Java (Android Studio)?
I’ve searched quite a bit on this topic, looking at options like Jython and Chaquopy, but whatever I do, there is always an error. What I’m looking to do is, when a button on my Android app is clicked,…
Can’t Access XML form Main Activity in Android Studio [closed]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 years ago. Improve this question I can…
Toast message inside MutableLiveData.observe() working repeatedly
I have a register form and ı want to show a message to the user based on signed up successfully or not.I store that message in my view model which has a mutable live data object to store that message and observing that object from my activity.My problem is when ı click to the register button first time it wor…
Firestore Could not deserialize object. Failed to convert value of type java.util.HashMap to Date
I’m trying to read a field from the first document in a Firestore Collection but I get the following error: Could not deserialize object. Failed to convert value of type java.util.HashMap to Date I have a Firestore Database that looks like this: The “User Routes” collection contains document…
Image Picked from Gallery ImageView Disappeard
I have a tabLayout with ImageView and when I Pick A image from the gallery and display it to Imageview then when I close the app the selected image is gone then I need to pick an image again. And I know this one looks the same as my question but still not working saving image picked from gallery for
How can I solve a problem with click on item in horizontal RecyclerView?
I have a horizontal recycler view. There are some buttons. I will provide my code below. So the problem is that when I click on a button, does not happen anything. It just thinks that I did not click to it. I have another recycler view, but vertical and the code is pretty similar, but the second one works. I