S
S
StynuBlizz2017-03-04 23:02:01
Android
StynuBlizz, 2017-03-04 23:02:01

Was it worth making the ribbon with ListView (Android)?

I just read somewhere that with a large number of items in the ribbon organized using ListView, the ribbon starts to get stupid. Is it so? If so, which is better to use?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Zagaevsky, 2017-03-04
@StynuBlizz

It's better, of course, to use RecyclerView for this. More flexible and harder to misuse.
If it’s still leaves, then read about the ViewHolder pattern, it is required to get rid of the brakes.

A
Alexey Ukolov, 2017-11-27
@Crushing

Styles within media queries do not have some magical precedence over others, the same rules apply to them. Specifically, in this case, the last declared rule among the most specific ones is applied. The selector section ... .application inputis much more specific than just .application input, so the rules overlap.
Here is a simple example: https://codepen.io/alexey-m-ukolov/pen/EbeZvY?edit...
PS

Media queries not working
Media queries work, the problem is different.
browser complains
He does not complain, but clearly shows what rules are applied, why and where they came from.
above (not even in the media) other properties are indicated
Properties can be specified below in the code, the browser in this panel sorts the rules by the specificity of the selector.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question