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 — Update LibsBuilder.java · inloop/AboutLibraries@eb9760b

File tree

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

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

Copy file name to clipboardExpand all lines: library/src/main/java/com/mikepenz/aboutlibraries/LibsBuilder.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class LibsBuilder implements Serializable {
5858

5959
public HashMap<String, HashMap<String, String>> libraryModification = null;
6060

61-
public Class ownLibsActivityClass = null;
61+
public Class ownLibsActivityClass = LibsActivity.class;
6262

6363
public LibsBuilder() {
6464
}
@@ -69,7 +69,7 @@ public LibsBuilder() {
6969
* @param clazz Class
7070
* @return this
7171
*/
72-
public LibsBuilder withOwnLibsActivityClass(Class clazz) {
72+
public LibsBuilder withOwnLibsActivityClass(@NonNull Class clazz) {
7373
this.ownLibsActivityClass = clazz;
7474
return this;
7575
}
@@ -516,7 +516,7 @@ public FastItemAdapter adapter(Context context) {
516516
* @return the intent to start the activity
517517
*/
518518
public Intent intent(Context ctx) {
519-
return intent(ctx, ownLibsActivityClass==null ? LibsActivity.class : ownLibsActivityClass);
519+
return intent(ctx, ownLibsActivityClass);
520520
}
521521

522522
/**
@@ -575,4 +575,4 @@ public LibsSupportFragment supportFragment() {
575575

576576
return fragment;
577577
}
578-
}
578+
}

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.