-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
JustinGeorgeJoseph
committed
Mar 20, 2022
1 parent
022e3e5
commit 7712a32
Showing
16 changed files
with
66 additions
and
31 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="purple_200">#FFBB86FC</color> | ||
<color name="purple_500">#FF6200EE</color> | ||
<color name="purple_700">#FF3700B3</color> | ||
<resources xmlns:tools="http://schemas.android.com/tools"> | ||
<color name="purple_200">@color/black</color> | ||
<color name="purple_500">@color/black</color> | ||
<color name="purple_700">@color/black</color> | ||
<color name="teal_200">#FF03DAC5</color> | ||
<color name="teal_700">#FF018786</color> | ||
<color name="black">#FF000000</color> | ||
<color name="white">#FFFFFFFF</color> | ||
|
||
<color name="green">#E98FE792</color> | ||
<color name="green">#54A442</color> | ||
<color name="darkGreen">#44EA2A</color> | ||
|
||
<color name="selected_blue">#E9165FD3</color> | ||
<color name="light_gray">@android:color/darker_gray</color> | ||
<color name="black_04">#FF040404</color> | ||
|
||
</resources> |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion
2
materialchipsetwidget/src/main/java/com/justin/materialchipsetwidget/ChipSetData.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.justin.materialchipsetwidget | ||
|
||
data class ChipSetData(val position : Int, val chipList : List<String>, var isSelected : Boolean = false, var selectedPosition :Int =-1) | ||
data class ChipSetData(val position : Int, val chipList : List<String>,var chipSelectionGroup:String="", var isSelected : Boolean = false, var selectedPosition :Int =-1) | ||
|
4 changes: 2 additions & 2 deletions
4
...rialchipsetwidget/src/main/java/com/justin/materialchipsetwidget/ChipSetWidgetListener.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package com.justin.materialchipsetwidget | ||
|
||
interface ChipSetWidgetListener { | ||
fun onChipClicked(position : Int, title : String?, isSelected :Boolean) | ||
} | ||
fun onChipClicked(position : Int,chipSelectionGroup:String, title : String?, isSelected :Boolean) | ||
} |
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
7 changes: 5 additions & 2 deletions
7
...setwidget/src/main/java/com/justin/materialchipsetwidget/MaterialChipsetWidgetListener.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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
package com.justin.materialchipsetwidget | ||
|
||
interface MaterialChipsetWidgetListener { | ||
fun onChipSelectionChanged(name : String?, checked : Boolean) | ||
|
||
fun onChipSelectionChanged(name: String?, chipSelectionGroup: String, checked: Boolean) | ||
|
||
fun onChipsetsResetClicked() | ||
} | ||
|
||
} |
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