Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Fixed #117 #88 #120

Merged
merged 1 commit into from
Jan 11, 2016
Merged

Fixed #117 #88 #120

merged 1 commit into from
Jan 11, 2016

Conversation

opticod
Copy link
Member

@opticod opticod commented Dec 24, 2015

In api/processor/*, for every success we are clearing the respective tables of database and adding new values.So, for every onRefresh(),its will clear the tables only when we have completed fetching that data else retain it. #88 #117

@@ -165,7 +166,7 @@ public boolean onQueryTextChange(String query) {
return true;
}

private boolean haveNetworkConnection() {
public boolean haveNetworkConnection() {
Copy link
Member

Choose a reason for hiding this comment

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

Why public?

Copy link
Member Author

Choose a reason for hiding this comment

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

it may be private also.not needed

Copy link
Member

Choose a reason for hiding this comment

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

We should try to keep private methods only. Please fix it.

Copy link
Member Author

Choose a reason for hiding this comment

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

ok...suerly I will make it private

@mananwason
Copy link
Member

Please squash. Always!!

@opticod
Copy link
Member Author

opticod commented Dec 25, 2015

@mananwason Squashed it.Please review it.

@opticod
Copy link
Member Author

opticod commented Jan 11, 2016

@mananwason is there any other issues with the code?
Thank you.

@mananwason
Copy link
Member

No @opticod Merging.

mananwason added a commit that referenced this pull request Jan 11, 2016
@mananwason mananwason merged commit 726a1aa into fossasia:master Jan 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants