-
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.
* feature: 쿠링봇 화면 composable 추가 * feature: 쿠링봇 activity 추가 * feature: 쿠링봇 activity를 manifest에 등록 * feature: KuringNavigator에 쿠링봇 화면 추가 * feature: 쿠링봇으로 이동하는 FAB 추가 * refactor: 불필요한 null indicator 제거
- Loading branch information
Showing
10 changed files
with
539 additions
and
16 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
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
37 changes: 37 additions & 0 deletions
37
feature/kuringbot/src/main/java/com/ku_stacks/ku_ring/kuringbot/KuringBotActivity.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,37 @@ | ||
package com.ku_stacks.ku_ring.kuringbot | ||
|
||
import android.content.Context | ||
import android.content.Intent | ||
import android.os.Bundle | ||
import androidx.activity.compose.setContent | ||
import androidx.appcompat.app.AppCompatActivity | ||
import androidx.compose.foundation.layout.fillMaxSize | ||
import androidx.compose.ui.Modifier | ||
import com.ku_stacks.ku_ring.designsystem.kuringtheme.KuringTheme | ||
import com.ku_stacks.ku_ring.kuringbot.compose.KuringBotScreen | ||
import dagger.hilt.android.AndroidEntryPoint | ||
|
||
@AndroidEntryPoint | ||
class KuringBotActivity : AppCompatActivity() { | ||
|
||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
|
||
setContent { | ||
KuringTheme { | ||
KuringBotScreen( | ||
onBackButtonClick = ::finish, | ||
modifier = Modifier.fillMaxSize(), | ||
) | ||
} | ||
} | ||
} | ||
|
||
companion object { | ||
fun start(context: Context) { | ||
val intent = Intent(context, KuringBotActivity::class.java) | ||
context.startActivity(intent) | ||
} | ||
} | ||
|
||
} |
Oops, something went wrong.