This file contains hidden or 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
| private val canonicalTimezonesList = listOf( | |
| "Africa/Abidjan", | |
| "Africa/Accra", | |
| "Africa/Algiers", | |
| "Africa/Bissau", | |
| "Africa/Cairo", | |
| "Africa/Casablanca", | |
| "Africa/Ceuta", | |
| "Africa/El_Aaiun", | |
| "Africa/Johannesburg", |
This file contains hidden or 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
| lintOptions { | |
| checkDependencies true | |
| xmlReport false | |
| htmlReport true | |
| htmlOutput file("${project.rootDir}/build/reports/android-lint.html") | |
| } |
This file contains hidden or 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
| public final class DrawableCompat | |
| { | |
| private DrawableCompat() | |
| { | |
| } | |
| /** | |
| * Tints the given drawable with the given color. |
This file contains hidden or 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
| dashboard.addOnScrollListener(object : RecyclerView.OnScrollListener() { | |
| override fun onScrolled(recyclerView: RecyclerView?, dx: Int, dy: Int) { | |
| if (dy > 0 || dy < 0 && fab.isShown) { | |
| fab.hide() | |
| } | |
| super.onScrolled(recyclerView, dx, dy) | |
| } | |
| override fun onScrollStateChanged(recyclerView: RecyclerView?, newState: Int) { | |
| if (newState == RecyclerView.SCROLL_STATE_IDLE) { |