-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from amirisback/FunctionCustomView
Function custom view
- Loading branch information
Showing
5 changed files
with
58 additions
and
20 deletions.
There are no files selected for viewing
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
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
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
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
28 changes: 28 additions & 0 deletions
28
frogo/src/main/java/com/frogobox/recycler/view/FrogoView.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.frogobox.recycler.view | ||
|
||
/** | ||
* Created by Faisal Amir | ||
* FrogoBox Inc License | ||
* ========================================= | ||
* FrogoRecyclerViewAdapter | ||
* Copyright (C) 31/12/2019. | ||
* All rights reserved | ||
* ----------------------------------------- | ||
* Name : Muhammad Faisal Amir | ||
* E-mail : [email protected] | ||
* Github : github.com/amirisback | ||
* LinkedIn : linkedin.com/in/faisalamircs | ||
* ----------------------------------------- | ||
* FrogoBox Software Industries | ||
* com.frogobox.recycler.view | ||
* | ||
*/ | ||
|
||
interface FrogoView { | ||
|
||
fun isViewLinearVertical(dividerItem: Boolean) {} | ||
fun isViewLinearHorizontal(dividerItem: Boolean) {} | ||
fun isViewStaggeredGrid(spanCount: Int) {} | ||
fun isViewGrid(spanCount: Int) {} | ||
|
||
} |