Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Issue No #1198 Does not show client details. #1340

Merged
merged 1 commit into from Aug 20, 2022

Conversation

Prashant830
Copy link
Contributor

Issue Fix

Fixes #1198

Screenshots

Description

In mainActivity, mainPresenter, BaseHomeContract interface I am going to remove the showclientdetails() function.

  • Apply the AndroidStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

@@ -17,8 +17,6 @@
public interface BaseHomeContract {

interface BaseHomeView extends BaseView<BaseHomePresenter> {

void showClientDetails(Client client);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we don't have any methods inside the interface, we can skip it altogether. If any requirement arises for the same in the future, we can always create it again

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devansh-299 if we removed BaseHomeView Interface then we also required to removes the BaseHomePresenter Interface because BaseHomeView Interface extend the property of BaseHomePresenter.

@@ -17,8 +17,6 @@
public interface BaseHomeContract {

interface BaseHomeView extends BaseView<BaseHomePresenter> {

void showClientDetails(Client client);
}

interface BaseHomePresenter extends BasePresenter {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devansh-299 by chance if we removed both of the interfaces (BaseHomeView , BaseHomePresenter).
then where we add void fetchClientDetails(); method??

@devansh-299 devansh-299 merged commit ccbbdf9 into openMF:dev Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does not show client details
2 participants