Last active
July 8, 2016 16:44
-
-
Save myeonginwoo/74b662cba7759365b59eb1fc9299d9ec to your computer and use it in GitHub Desktop.
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
package com.teatime.americano.decorators | |
.... | |
/** | |
* Created by myeongin on 14. 12. 13.. | |
*/ | |
class GalleryDecoration(private val context: Context, orientation: Int) : RecyclerView.ItemDecoration() { | |
.... | |
companion object { | |
private val ATTRS = intArrayOf(android.R.attr.listDivider) | |
val HORIZONTAL_LIST = LinearLayoutManager.HORIZONTAL | |
val VERTICAL_LIST = LinearLayoutManager.VERTICAL | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment