Skip to content

Instantly share code, notes, and snippets.

Avatar
👾
fixing Android apps

Konrad Pozniak connyduck

👾
fixing Android apps
View GitHub Profile
View gist:fec040ac63c3615f9ee8e6c0758686bc
io.reactivex.exceptions.OnErrorNotImplementedException:
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept (Functions.java:704)
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept (Functions.java:701)
at io.reactivex.internal.observers.LambdaObserver.onError (LambdaObserver.java:77)
at io.reactivex.internal.observers.LambdaObserver.onNext (LambdaObserver.java:67)
at com.uber.autodispose.HalfSerializer.onNext (HalfSerializer.java:129)
at com.uber.autodispose.AutoDisposingObserverImpl.onNext (AutoDisposingObserverImpl.java:81)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal (ObservableObserveOn.java:200)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run (ObservableObserveOn.java:252)
at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run (HandlerScheduler.java:109)
@connyduck
connyduck / gist:bdf1c765fbdd526e590c4ef390948f23
Last active Dec 17, 2018
Tusky crash stacktrace 4.7.18
View gist:bdf1c765fbdd526e590c4ef390948f23
java.lang.IllegalStateException:
at com.keylesspalace.tusky.AccountActivity.onPrepareOptionsMenu (AccountActivity.java:469)
at android.app.Activity.onPreparePanel (Activity.java:3396)
at android.support.v4.app.FragmentActivity.onPrepareOptionsPanel (FragmentActivity.java:559)
at android.support.v4.app.FragmentActivity.onPreparePanel (FragmentActivity.java:547)
at android.support.v7.view.WindowCallbackWrapper.onPreparePanel (WindowCallbackWrapper.java:99)
at android.support.v7.app.AppCompatDelegateImpl$AppCompatWindowCallback.onPreparePanel (AppCompatDelegateImpl.java:2576)
at android.support.v7.view.WindowCallbackWrapper.onPreparePanel (WindowCallbackWrapper.java:99)
at android.support.v7.app.ToolbarActionBar$ToolbarCallbackWrapper.onPreparePanel (ToolbarActionBar.java:522)
at android.support.v7.app.ToolbarActionBar.populateOptionsMenu (ToolbarActionBar.java:456)
@connyduck
connyduck / tuskyartwork.markdown
Last active Jul 18, 2018
Tusky artwork commision
View tuskyartwork.markdown
  • 4 assets
    • replacement for the elephant friend on the login page
    • one image that will be shown when there is no network connection, next to some text and a retry button
    • one image that will be shown when an error occurs, next to some text describing the error and a retry button
    • one image that will be shown on empty screens, e.g. when search returns no results, next to some text
  • should fit into Tusky/Mastodons general theme and color
    • cute elephant/mammoth? Its called Tusky for a reason
    • see bottom of this page for Tusky/Mastodon color scheme: https://joinmastodon.org/ Some examples of mastodon elephants can also be found in the press kit.
  • not too detailed (must look good on small screens like 600x400px)
  • must look good on light (#f4f4f4) and dark background (#282c37)
View gist:eb4359c867760fe0244530027e6204f0
java.lang.ArrayIndexOutOfBoundsException:
at java.util.ArrayList.get (ArrayList.java:413)
at com.keylesspalace.tusky.util.PairedList.getPairedItem (PairedList.java:44)
at com.keylesspalace.tusky.e.-$$Lambda$7EjkEoIloiLoi1pGuAyWqLuntyw.getStatus (lambda)
at com.keylesspalace.tusky.util.ListStatusAccessibilityDelegate$itemDelegate$1.onInitializeAccessibilityNodeInfo (ListStatusAccessibilityDelegate.java:45)
at androidx.core.view.AccessibilityDelegateCompat$AccessibilityDelegateAdapter.onInitializeAccessibilityNodeInfo (AccessibilityDelegateCompat.java:86)
at android.view.View.onInitializeAccessibilityNodeInfo (View.java:6552)
at android.view.View.createAccessibilityNodeInfoInternal (View.java:6513)
at android.view.View$AccessibilityDelegate.createAccessibilityNodeInfo (View.java:23676)
at android.view.View.createAccessibilityNodeInfo (View.java:6496)
View gist:d82782aa502bbd997782ad3db4c9d3b0
java.lang.ArrayIndexOutOfBoundsException:
at java.util.ArrayList.get (ArrayList.java:413)
at com.keylesspalace.tusky.util.PairedList.getPairedItem (PairedList.java:44)
at com.keylesspalace.tusky.fragment.NotificationsFragment.lambda$onCreateView$0 (NotificationsFragment.java:194)
at com.keylesspalace.tusky.e.f.lambda$KDpU9igVy8YH-PDsmt9jUj-LQ3o (SourceFile)
at com.keylesspalace.tusky.e.-$$Lambda$f$KDpU9igVy8YH-PDsmt9jUj-LQ3o.getStatus (lambda)
at com.keylesspalace.tusky.util.ListStatusAccessibilityDelegate$itemDelegate$1.onInitializeAccessibilityNodeInfo (ListStatusAccessibilityDelegate.java:45)
at androidx.core.view.AccessibilityDelegateCompat$AccessibilityDelegateAdapter.onInitializeAccessibilityNodeInfo (AccessibilityDelegateCompat.java:86)
at android.view.View.onInitializeAccessibilityNodeInfo (View.java:7207)
at android.view.View.createAccessibilityNodeInfoInternal (View.java:7168)