-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a586c2c
commit e3e60bf
Showing
4 changed files
with
25 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
import android.util.Log; | ||
import android.view.View; | ||
import android.widget.Button; | ||
import android.widget.EditText; | ||
|
||
import com.neosoft.neostore.R; | ||
import com.neosoft.neostore.model.login.LoginResponseModel; | ||
|
@@ -26,11 +27,15 @@ public void onClick(View v) { | |
} | ||
}); | ||
Button login = (Button) findViewById(R.id.btn_login); | ||
final EditText editPassword = (EditText) findViewById(R.id.edtPass); | ||
|
||
final EditText editEmail = (EditText) findViewById(R.id.edtEmail); | ||
|
||
login.setOnClickListener(new View.OnClickListener() { | ||
@Override | ||
public void onClick(View v) { | ||
GetServices apiServices = new GetServices(); | ||
apiServices.login("[email protected]", "abhijeet", new ApiResponse<LoginResponseModel>() { | ||
apiServices.login(editEmail.getText().toString(),editPassword.getText().toString(), new ApiResponse<LoginResponseModel>() { | ||
@Override | ||
public void onSuccess(LoginResponseModel response) { | ||
Log.e("zzz", response.toString()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.