I am trying to remove duplicate values from an ArrayList using HashSet, so that city names aren’t returned more than once if they are the same… The List comes back either empty or still shows duplicate values. Was hoping someone could tell me where the error is in my code, so that no duplicate values ar…
Tag: android
Getting image in POST request using Java and vert.x
I got the following question, I can’t get image which I’m sending from android app to server, I’m sending image from app using kotlin, and receiving it on server written with Java using vert.x. I send it with following code: on server side I’m handling it like But I can’t get any…
Dialog Activity has a layout on the background
I am trying to make a dialog activity when the notification is clicked but I encountered some trouble. as you can see, the dialog is opened after clicking the notification but the black background is not necessary, how could I remove this ? I wanted to do is just pop.out the dialog box on the application befo…
Getting Problem In RecycleView with TextInputEditText
I am a new Programmer, actually I was trying to make an app. I was trying to make an activity that uses RecyclerView to Show TextInputEditText with spinner and TextView. It means that I was trying to make an activity that uses Recyclerview and In the layout of Recycler View, I have used Text Input Edit Text a…
ViewPager2 not working properly with Fragments and click events
I just wanna know if I’m doing something wrong since I’m kinda new to all this. If there is anything else that you’ll like me to add just let me know. This is the repo branch where I’m trying to implement the ViewPager if you wanna see all the code. Context So I have 4 Categories repre…
Cannot resolve method ‘setText(Model)’
I am trying to make grid view have to texts but I faced this problem no suitable method found for setText(Model)i am tried to make to listView but doesn’t go well so I am asked and this code is best code I reached into it .. till now … why it Cannot resolve method ‘setText(Model)’ ? pr…
Android topoche searchable spinner cannot cast error [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question Inconvertible types; cannot cast ‘android.view.View’ to ‘com.toptoche.sear…
my weather app getting crashing after i enter the Toast [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 my ap…
setLocale for change language has no effect in Android
If Generated Signed Bundle – Release, i failed to change the language of an app programmatically on some Android devices..but if Build Apk(s), it’s work on all Android devices.. This is a list of devices that have been tested : ✓ Samsung J7 prime ✓ Samsung A50 ✓ Vivo y81 x Xiaomi Redmi Note 8 This…
showing refresh page button when there is no internet connection
I have an activity that requires an internet connection, and I put a progress bar for loading pages, but when there is no internet connection from the user the progress bar is always VISIBLE, like the code below and what I want is, when there is no internet connection, the progress bar has the status of GONE …