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

Commit

Permalink
Working on cache purge for release after
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsdayrs committed Jul 27, 2019
1 parent a567821 commit f67f3b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ public static Object deserialize(String string) throws IOException, ClassNotFoun
return objectInputStream.readObject();
}


/**
* Download control
*/
Expand Down Expand Up @@ -266,6 +265,14 @@ public static int getDownloadCount() {
*/
public static class DatabaseChapter {

// TODO This will remove all chapter data
public static void purgeCache(){

}

//TODO purge not needed cache
public static void purgeUneededCache(){
}

/**
* @param novelURL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ public void onBindViewHolder(@NonNull ChaptersViewHolder chaptersViewHolder, int

case READ:
chaptersViewHolder.status.setText(Status.READ.getStatus());
chaptersViewHolder.readTag.setVisibility(View.GONE);
chaptersViewHolder.read.setVisibility(View.GONE);
break;

case UNREAD:
Expand Down

0 comments on commit f67f3b7

Please sign in to comment.