-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Using Spinnable as 'Alternativa'
- Loading branch information
Showing
28 changed files
with
95 additions
and
263 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
4 changes: 2 additions & 2 deletions
4
dataform/src/main/java/br/redcode/dataform/lib/adapter/AdapterCheckBox.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
4 changes: 2 additions & 2 deletions
4
dataform/src/main/java/br/redcode/dataform/lib/adapter/AdapterItemRemovivel.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
4 changes: 2 additions & 2 deletions
4
dataform/src/main/java/br/redcode/dataform/lib/adapter/AdapterRadioButton.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
45 changes: 0 additions & 45 deletions
45
dataform/src/main/java/br/redcode/dataform/lib/adapter/AdapterSpinnerSpinneable.kt
This file was deleted.
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
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
11 changes: 11 additions & 0 deletions
11
dataform/src/main/java/br/redcode/dataform/lib/extension/ExtensionSpinnable.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,11 @@ | ||
package br.redcode.dataform.lib.extension | ||
|
||
import br.com.redcode.spinnable.library.model.Spinnable | ||
import br.redcode.dataform.lib.model.payloads.AlternativaPayload | ||
|
||
/** | ||
* Created by pedrofsn on 31/10/2017. | ||
*/ | ||
fun Spinnable.toDTO(): AlternativaPayload { | ||
return AlternativaPayload(id.toLong(), selected) | ||
} |
64 changes: 0 additions & 64 deletions
64
dataform/src/main/java/br/redcode/dataform/lib/extension/ExtensionSpinner.kt
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
dataform/src/main/java/br/redcode/dataform/lib/interfaces/DuasLinhas.kt
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
dataform/src/main/java/br/redcode/dataform/lib/interfaces/Spinnable.kt
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
dataform/src/main/java/br/redcode/dataform/lib/model/Alternativa.kt
This file was deleted.
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
Oops, something went wrong.