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 items to support the new interface from the FastAdapter item · inloop/AboutLibraries@f137ffe

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • library
    • build.gradle
    • src/main/java/com/mikepenz/aboutlibraries
      • LibsBuilder.java
      • ui/item
        • HeaderItem.java
        • LibraryItem.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎library/build.gradle‎

Copy file name to clipboardExpand all lines: library/build.gradle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ dependencies {
4141
// used to fill the RecyclerView with the items
4242
// and provides single and multi selection, expandable items
4343
// https://github.com/mikepenz/FastAdapter
44-
compile 'com.mikepenz:fastadapter:1.7.0@aar'
44+
compile 'com.mikepenz:fastadapter:1.8.0@aar'
4545
}
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
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import android.content.Context;
44
import android.content.Intent;
55
import android.os.Bundle;
6+
import android.support.annotation.NonNull;
67
import android.util.Log;
78
import android.view.animation.LayoutAnimationController;
89

Collapse file

‎library/src/main/java/com/mikepenz/aboutlibraries/ui/item/HeaderItem.java‎

Copy file name to clipboardExpand all lines: library/src/main/java/com/mikepenz/aboutlibraries/ui/item/HeaderItem.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
import com.mikepenz.fastadapter.utils.ViewHolderFactory;
2323
import com.mikepenz.iconics.Iconics;
2424

25+
import java.util.List;
26+
2527

2628
/**
2729
* Created by mikepenz on 28.12.15.
@@ -88,8 +90,8 @@ public int getLayoutRes() {
8890
* @param holder the viewHolder of this item
8991
*/
9092
@Override
91-
public void bindView(final ViewHolder holder) {
92-
super.bindView(holder);
93+
public void bindView(final ViewHolder holder, List payloads) {
94+
super.bindView(holder, payloads);
9395

9496
//ctx
9597
final Context ctx = holder.itemView.getContext();
Collapse file

‎library/src/main/java/com/mikepenz/aboutlibraries/ui/item/LibraryItem.java‎

Copy file name to clipboardExpand all lines: library/src/main/java/com/mikepenz/aboutlibraries/ui/item/LibraryItem.java
+7-5Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
import com.mikepenz.fastadapter.items.AbstractItem;
2121
import com.mikepenz.fastadapter.utils.ViewHolderFactory;
2222

23+
import java.util.List;
24+
2325

2426
/**
2527
* Created by mikepenz on 28.12.15.
@@ -75,8 +77,8 @@ public boolean isSelectable() {
7577
* @param holder the viewHolder of this item
7678
*/
7779
@Override
78-
public void bindView(final ViewHolder holder) {
79-
super.bindView(holder);
80+
public void bindView(final ViewHolder holder, List payloads) {
81+
super.bindView(holder, payloads);
8082

8183
//ctx
8284
final Context ctx = holder.itemView.getContext();
@@ -230,7 +232,7 @@ public boolean onLongClick(View v) {
230232
/**
231233
* helper method to open the author website
232234
*
233-
* @param ctx Context for startActivity
235+
* @param ctx Context for startActivity
234236
* @param authorWebsite Url to lib-website
235237
*/
236238
private void openAuthorWebsite(Context ctx, String authorWebsite) {
@@ -244,7 +246,7 @@ private void openAuthorWebsite(Context ctx, String authorWebsite) {
244246
/**
245247
* helper method to open the library website
246248
*
247-
* @param ctx Context for startActivity
249+
* @param ctx Context for startActivity
248250
* @param libraryWebsite Url to lib-website
249251
*/
250252
private void openLibraryWebsite(Context ctx, String libraryWebsite) {
@@ -258,7 +260,7 @@ private void openLibraryWebsite(Context ctx, String libraryWebsite) {
258260
/**
259261
* helper method to open the license dialog / or website
260262
*
261-
* @param ctx Context for startActivity
263+
* @param ctx Context for startActivity
262264
* @param libsBuilder
263265
* @param library
264266
*/

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.