Skip to content

Instantly share code, notes, and snippets.

package android.support.v4.provider;
import android.net.Uri;
import android.support.v4.provider.DocumentFile;
public class CachedDocumentFile extends DocumentFile {
final DocumentFile mWrapped;
final boolean mCacheChildren;
package com.bubblesoft.android.utils;
import android.animation.ValueAnimator;
import android.animation.ValueAnimator.AnimatorUpdateListener;
import android.content.Context;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.Snackbar;
import android.support.v4.view.ViewCompat;
import android.util.AttributeSet;
import android.view.Gravity;
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@id/container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="horizontal"
android:paddingBottom="10dip"
android:paddingLeft="10dip"
package com.bubblesoft.android.utils;
import android.app.Activity;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.widget.ImageView;
package com.blargh.android.utils;
import java.util.logging.Logger;
import android.content.Context;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.Snackbar;
import android.support.v4.view.ViewCompat;
import android.util.AttributeSet;
import android.view.Gravity;
[SocketListener(192.168.1.251] WARNING - 1:08:25.646 - l : 192.168.1.251.Error while reaping records: null
java.lang.NullPointerException
at javax.b.a.l.A(SourceFile:1866)
at javax.b.a.l.a(SourceFile:751)
at javax.b.a.l$b.c(SourceFile:2135)
at javax.b.a.m$a.a(SourceFile:62)
at javax.b.a.l.a(SourceFile:1303)
at javax.b.a.l.a(SourceFile:1424)
at javax.b.a.l.a(SourceFile:1443)
at javax.b.a.r.run(SourceFile:61)
@bubbleguuum
bubbleguuum / CachedDocumentFile.java
Last active October 23, 2023 22:26
Improve DocumentFile performance
package android.support.v4.provider;
import android.net.Uri;
import android.support.v4.provider.DocumentFile;
public class CachedDocumentFile extends DocumentFile {
final DocumentFile mWrapped;
final boolean mCacheChildren;