Skip to content

Instantly share code, notes, and snippets.

@Vova-SH
Vova-SH / gist:5074637b6382ad5f49d358c4753a4d3b
Created September 29, 2025 15:22
Divkit full crash log
java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class androidx.recyclerview.widget.RecyclerView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/0xC. Make sure other views do not use the same id.
at android.view.View.onRestoreInstanceState(View.java:22087)
at android.view.View.dispatchRestoreInstanceState(View.java:22059)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4239)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4239)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4239)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4239)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4239)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4239)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4239)
import com.yandex.div.evaluable.EvaluableType
import com.yandex.div.evaluable.EvaluationContext
import com.yandex.div.evaluable.ExpressionContext
import com.yandex.div.evaluable.Function
import com.yandex.div.evaluable.FunctionArgument
import org.json.JSONArray
import org.json.JSONObject
class GetDictValuesFunction : Function() {
@Vova-SH
Vova-SH / install_ha_2022_7_5.sh
Created July 24, 2022 14:14
Shell script for install HomeAssistant on Termux
pkg update
apt-get update
pkg upgrade
pkg install openssh
pkg install python nano make rust libcrypt libffi libjpeg-turbo binutils
pkg install mosquitto termux-api
python -m venv hass