I've been following an online tutorial and carefully following the code below as an API interface. I keep getting errors like illegal start of type and such:
package com.gwiddle.airsoftcreations.airsoftapp;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
public interface ApiInterface {
@GET("register.php")
Call<User> performRegistration(@Query("name") String Name,
@Query("user_name") String UserName, @Query("user_password") String UserPassword );
@GET("login.php")
Call<User>perfromUserLogin@Query("user_name") String Username,
@Query("user_password") String UserPassword)
}
Please assist