Pinned Loading
-
-
Bookmark JS for collapsing junk iOS ...
Bookmark JS for collapsing junk iOS files on GitHub PRs 1/*
2* Paste the following into a new bookmark, then click it on
3* a GitHub PR to mark all the yucky Pod files as viewed.
4*/
5javascript:Array.from(document.querySelectorAll('a[title*=".xcodeproj"],a[title$=".storyboard"],a[title$=".pbxproj"],a[title^="Pods/"],a[title="Podfile.lock"]')).map(el => el.closest('.file-header').querySelector('.js-reviewed-checkbox')).forEach(function(el, i) { if (!el.checked) { el.click() } })
-
-
retrofit2-unwrapping-converter
retrofit2-unwrapping-converter PublicRetrofit converter for unwrapping JSON objects with arbitrary keys
Kotlin
-
NestedWebViewScrollingSwipeRefreshLa...
NestedWebViewScrollingSwipeRefreshLayoutFixer.kt 1/**
2* The [swipeRefreshLayout] will "steal" the swipe gesture from the [nestedWebView]
3* when the user tries to scroll up on the web page. This class adds a
4* [ViewTreeObserver.OnScrollChangedListener] to [swipeRefreshLayout] to disable
5* refreshing while [nestedWebView] is not scrolled all the way to the top.
-
SwipeRefreshAwareWebViewClient.kt
SwipeRefreshAwareWebViewClient.kt 1class SwipeRefreshAwareWebViewClient(private val swipeRefreshLayout: SwipeRefreshLayout)
2: WebViewClient() {
34override fun onReceivedHttpError(view: WebView?, request: WebResourceRequest?, errorResponse: WebResourceResponse?) {
5Timber.d("errorResponse: %s", errorResponse?.data)
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.