java – parsing json Object but data added two times in arralist in android studio kotlin

I am parsing Json data in an Arraylist but data added two times i removed temp.addAll(value) line but Nothing happened.please help me and answers should be in Kotlin if Possible. here is the code Pojo classes: class Restaurant_info ( val id :String?=null, val name :String?=null, val rating : String?=null, val cost_for_one: String?=null, val image_url: String?=null … Read more

javascript – in nodejs+express how to prevent socket.io from returning all multiple added chat messages twice? and only return the single added message once

[I am trying to make a littlechat with socket.io + node express, the problem is that when emitting the socket it returns in the browser not only the message that I have added, but all the previous ones, so that in the browser view I only have correct messages added i have to refresh the … Read more

html – horizontal bar and wed page distortion problem after added Bootstrap 5

/*======Google Font======*/ @import url(‘https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap’); /*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */ html, body, p, ol, ul, li, dl, dt, dd, blockquote, figure, fieldset, legend, textarea, pre, iframe, hr, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0 } h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal } ul … Read more