view tag

215 questions


1 answers
68 views
0
Should I use two adapters to print out two different types of data from Cotlin to one recycler view? I ask for your help me ^^;

Data A when button 1 is pressedPress button 2 to print out B data (data contents are similar)Should I use two adapters? Or can I use button 1 and button 2 together for one adapter? I keep getting erro...


1 answers
100 views
0
Replace Android Studio Image View Image

Using the setImageResource() function logoImageViews[i].setImageResource(R.drawable.premierleague);But what I want is not a tag, but a file name ('xx'.Is it possible to change it by typing 'png')?

2 years ago

1 answers
72 views
0
RecyclerView Questions

I would like to show the data from two DBs in one RecyclerView at the same time.There are two tables like this, and the names of the players on the baseball team and the basketball team are the same.W...


1 answers
76 views
0
How to use RecyclerView like GridView

The only views the adapter references are nameText and dataText.DB is like this.When you search your name on SearchView, I hope it comes out like GridView.JOHN1 JOHN1 JOHN1 JOHN110 20 30 40But I don't...

2 years ago

4 answers
83 views
0
How to save TextView as Shared Preferences

I saved the number of clicks on the counter using sharedpreference. If you click on it after you exit the application, the number will be counted. However, TextView is not saved, so if you press up to...

« - 22 -

© 2024 OneMinuteCode. All rights reserved.