-
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.
- Loading branch information
1 parent
43a7cee
commit 541086d
Showing
42 changed files
with
123 additions
and
1,346 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
9 changes: 0 additions & 9 deletions
9
app/src/main/java/com/puzzling/puzzlingaos/base/BindingAdapter.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,19 +1,10 @@ | ||
package com.puzzling.puzzlingaos.base | ||
|
||
import android.graphics.Color | ||
import android.widget.ImageView | ||
import android.widget.TextView | ||
import androidx.databinding.BindingAdapter | ||
import coil.load | ||
|
||
@BindingAdapter("image") | ||
fun ImageView.setImage(imageUrl: String) { | ||
this.load(imageUrl) | ||
} | ||
|
||
@BindingAdapter("spanTextColor") | ||
fun setTextColor(view: TextView, inputText: String?) { | ||
val isConditionMet = inputText == "Your Condition" | ||
view.setTextColor(if (isConditionMet) Color.BLUE else Color.BLACK) | ||
} | ||
// TODO span color 이용해서 텍스트 컬러 처리 |
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
8 changes: 0 additions & 8 deletions
8
app/src/main/java/com/puzzling/puzzlingaos/domain/entity/PuzzleBoard.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
55 changes: 0 additions & 55 deletions
55
app/src/main/java/com/puzzling/puzzlingaos/presentation/home/HomeViewModel.kt
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...rc/main/java/com/puzzling/puzzlingaos/presentation/home/personal/MyPuzzleBoardActivity.kt
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
...src/main/java/com/puzzling/puzzlingaos/presentation/home/personal/MyPuzzleBoardAdapter.kt
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
...c/main/java/com/puzzling/puzzlingaos/presentation/home/personal/MyPuzzleBoardViewModel.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
28 changes: 0 additions & 28 deletions
28
app/src/main/java/com/puzzling/puzzlingaos/presentation/home/team/TeamPuzzleBoardActivity.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.