change text color of singel item in arrayAdapter

All we need is a simple explanation of the problem, which is provided below. I have a TextInputLayout with an AutoCompleteTextView in it I learned from materials prencebels that the style : style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu" and using it instead of the spinner to show dropped dawn menu with ArrayAdapter so my problem is I want to change … Read more

How to retrieve an object from firebase database?

All we need is a simple explanation of the problem, which is provided below. I’m trying to retrieve an object from an ArrayList in the database but when I’m retrieving it one of the object attributes returns an empty string instead of the string saved in the database, however, the other attributes are returning their … Read more

I cant refrence the adapter

All we need is a simple explanation of the problem, which is provided below. I have an adaptor that I initiate in onCreate and a listview that I initiate in onViewCreated I’m trying to setAdapter but I can’t pass the adapter in onViewCreated. Ive tried multiple things like moving them from onCreate in onViewCreated but … Read more

ListView Array Adapter error"None of the following functions can be called with the arguments supplied."

All we need is a simple explanation of the problem, which is provided below. I’m trying to create a fragment with a ListView with the id=lv and the ArrayAdapter doesn’t seem to work this is the fragment code class Istoric : Fragment() { var array = arrayOf("item1","item2") override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val adapter … Read more

get arrayList value into ArrayAdapter for a listView in android studio

All we need is a simple explanation of the problem, which is provided below. I am trying to put one piece of value in an ArrayList to my listView, below are the details. Here is the sample of the ArrayList info: private static final ArrayList<User> users = new ArrayList<User>(){{ add(new User("Nevin Hobden",38,"Male","Friend","New Mexico","NM")); add(new User("Stillman … Read more

How to pass a string-array from the function to the activity in android kotlin?

All we need is a simple explanation of the problem, which is provided below. I am trying to pass a string-array from function to activity. I want to use that array into the spinner. But when I am trying to do this, I am passing an array but the function wants to pass a array … Read more

Fit 2 textViews in an adapter , java , android

All we need is a simple explanation of the problem, which is provided below. I am creating a note-taking app for myself, I created an adapter to show notes on the main screen with a title view and text view but the app crashes when I launch it here is RecyclerViewAdapter.java. I am using basic … Read more

Set value for Spinner with custom Adapter in Android

All we need is a simple explanation of the problem, which is provided below. I am developing a android application with spinner in a form. The spinner items and spinner values are different. I want to collect all the value from the from including spinner and set a rest api service to web back end. … Read more

How to get Images from Internet and past it in a ListView?

All we need is a simple explanation of the problem, which is provided below. I’m doing my BlogApp. It gets all data from the Internet. I added three TextViews, but I have problem with getting images from JSON. I’ve tryed different ways but I still don’t understand how exactly do this. Here is a part … Read more