Category : algorithm

I’m relatively new to Java so I’m kind of lost here. Is it wrong when you are trying to compare two strings just use the identical symbol "==" instead of using a method for checking if two strings are identical. Because for what I have tried the first option doesn’t work and I’m very curious ..

Read more

I have one image, but I want to work with multiple (from 1 to 8) ImageViews at the same time on screen. And the only conclusion I came to is to create 8 the same ImageViews with different ids. Im my activity, it looks like this: <ImageView android:id="@+id/object0" android:layout_width="50dp" android:layout_height="107dp" android:visibility="invisible" app:layout_constraintStart_toStartOf="@+id/imageView" app:layout_constraintTop_toTopOf="@+id/imageView"/> Then this: ..

Read more