https://kotlinlang.org logo
Title
u

user

06/27/2022, 11:51 AM
Android resources.getColor() freezes code I need to add views to LinearLayout dynamically on POST request finished inside a fragment. Here is my function that creates and setups the view and returns it, then I add it to the chatsRoot via addView() method. No exceptions, but views are not added. After some debug I noticed, that in logcat there is only one message "Banner created1" and no message "Banner created2", like if the program freezed on loading the color resource. Log.d("VIEW", "Banner created1") // appears in logcat val...