GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — * prevent potential leak. (was not able to verify this) · inloop/AboutLibraries@d74a73b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • library/src/main/java/com/mikepenz/aboutlibraries
    • LibsFragmentCompat.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎library/src/main/java/com/mikepenz/aboutlibraries/LibsFragmentCompat.java‎

Copy file name to clipboardExpand all lines: library/src/main/java/com/mikepenz/aboutlibraries/LibsFragmentCompat.java
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
* Created by mikepenz on 02.11.15.
3232
*/
3333
public class LibsFragmentCompat {
34-
private RecyclerView mRecyclerView;
3534
private FastItemAdapter mAdapter;
3635

3736
private LibsBuilder builder = null;
@@ -65,6 +64,7 @@ public View onCreateView(Context context, LayoutInflater inflater, ViewGroup con
6564
}
6665

6766
// init CardView
67+
RecyclerView mRecyclerView;
6868
if (view.getId() == R.id.cardListView) {
6969
mRecyclerView = (RecyclerView) view;
7070
} else {
@@ -125,6 +125,7 @@ protected void executeLibTask(LibraryTask libraryTask) {
125125
public void onDestroyView() {
126126
if (mLibTask != null) {
127127
mLibTask.cancel(true);
128+
mLibTask.setCtx(null);
128129
mLibTask = null;
129130
}
130131
}
@@ -140,6 +141,10 @@ public LibraryTask(Context ctx) {
140141
this.ctx = ctx;
141142
}
142143

144+
public void setCtx(Context ctx) {
145+
this.ctx = ctx;
146+
}
147+
143148
@Override
144149
protected void onPreExecute() {
145150
//started loading

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.