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 — * allow to provide a own implementation of the `LibsActivity` for the… · inloop/AboutLibraries@c06f23c

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
+10-2Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,16 +495,24 @@ public FastItemAdapter adapter(Context context) {
495495
return adapter;
496496
}
497497

498-
499498
/**
500499
* intent() method to build and create the intent with the set params
501500
*
502501
* @return the intent to start the activity
503502
*/
504503
public Intent intent(Context ctx) {
504+
return intent(ctx, LibsActivity.class);
505+
}
506+
507+
/**
508+
* intent() method to build and create the intent with the set params
509+
*
510+
* @return the intent to start the activity
511+
*/
512+
public Intent intent(Context ctx, Class clazz) {
505513
preCheck();
506514

507-
Intent i = new Intent(ctx, LibsActivity.class);
515+
Intent i = new Intent(ctx, clazz);
508516
i.putExtra("data", this);
509517
i.putExtra(Libs.BUNDLE_THEME, this.activityTheme);
510518
if (this.activityTitle != null) {

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.