This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
Garmin JNX as of http://whiter.brinkster.net/JNX.shtml | |
''' | |
import logging; log = logging.getLogger('JNX' if __name__ == '__main__' else __name__) | |
import sys | |
import os | |
import struct | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.support.v7.widget.LinearLayoutManager | |
import android.support.v7.widget.RecyclerView | |
abstract class EndlessRecyclerOnScrollListener(private val layoutManager: LinearLayoutManager):RecyclerView.OnScrollListener(){ | |
companion object { | |
const val VISIBLE_THRESHOLD = 2 | |
} | |
private var loading = true |