Retrofit 2 : Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $

I am using Retrofit 2 and i am having this issue. It is very simple JSON. Why I am take this error? My Interface is public interface JsonPlaceHolderApi { @GET(“mavericks_schedule_01.json”) Call<List<Post>> getPosts(); } My Post Class public class Post { @SerializedName(“gscd”) @Expose private Gscd gscd; public Gscd getGscd() { return gscd; } public void setGscd(Gscd…

Details

How to vertically align this input and button that are on the same line?

This code works but the <input> is not perfectly vertically aligned with its button: .wrapper { height: 25px; } .myinput { box-sizing: border-box; width: 150px; height: 100%; } .mybutton { display: inline-block; box-sizing: border-box; height: 100%; padding: 2px 10px; background-color: #57A3E7; color: white; } <div class=”wrapper”> <input class=”myinput” placeholder=”[email protected]” type=”email”> <div class=”mybutton”>Go!</div> </div> How to…

Details