-
Notifications
You must be signed in to change notification settings - Fork 0
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
0ebc469
commit 467bbb8
Showing
5 changed files
with
21 additions
and
35 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: 4 additions & 5 deletions
9
app/src/main/java/com/wesam/brainstorming/ui/home/NoteFragment.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,21 +1,20 @@ | ||
package com.wesam.brainstorming.ui.home | ||
|
||
import androidx.fragment.app.viewModels | ||
import androidx.navigation.fragment.findNavController | ||
import com.wesam.brainstorming.R | ||
import com.wesam.brainstorming.databinding.FragmentNoteBinding | ||
import com.wesam.brainstorming.ui.base.BaseFragment | ||
|
||
|
||
class NoteFragment : BaseFragment<FragmentNoteBinding, NoteViewModel>() { | ||
override val layoutId = R.layout.fragment_note | ||
override val viewModelClass = NoteViewModel::class.java | ||
class NoteFragment : BaseFragment<FragmentNoteBinding>(R.layout.fragment_note) { | ||
|
||
override val viewModel: NoteViewModel by viewModels() | ||
|
||
override fun onStart() { | ||
super.onStart() | ||
binding.imageView.setOnClickListener { | ||
findNavController().navigate(R.id.historyFragment) | ||
} | ||
} | ||
|
||
|
||
} |
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,6 +1,6 @@ | ||
#Thu Nov 25 02:12:00 AST 2021 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME |