Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElBuenoPeso
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Matis SPINELLI
ElBuenoPeso
Commits
ca5a92dd
Commit
ca5a92dd
authored
Feb 21, 2024
by
Alutulu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename things
parent
2d5ea4ce
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
8 deletions
+7
-8
AdAdapter.kt
...c/main/java/com/example/elbuenopeso/adapters/AdAdapter.kt
+0
-1
MarketFragment.kt
.../java/com/example/elbuenopeso/ui/market/MarketFragment.kt
+1
-1
MarketViewModel.kt
...java/com/example/elbuenopeso/ui/market/MarketViewModel.kt
+2
-2
fragment_market.xml
app/src/main/res/layout/fragment_market.xml
+1
-1
mobile_navigation.xml
app/src/main/res/navigation/mobile_navigation.xml
+1
-1
strings.xml
app/src/main/res/values/strings.xml
+2
-2
No files found.
app/src/main/java/com/example/elbuenopeso/adapters/AdAdapter.kt
View file @
ca5a92dd
...
...
@@ -7,7 +7,6 @@ import android.widget.ImageView
import
android.widget.TextView
import
com.example.elbuenopeso.R
import
com.example.elbuenopeso.models.AdModel
import
com.example.elbuenopeso.ui.dashboard.MarketFragment
import
java.math.RoundingMode
...
...
app/src/main/java/com/example/elbuenopeso/ui/
dashboard
/MarketFragment.kt
→
app/src/main/java/com/example/elbuenopeso/ui/
market
/MarketFragment.kt
View file @
ca5a92dd
package
com.example.elbuenopeso.ui.
dashboard
package
com.example.elbuenopeso.ui.
market
import
AdAdapter
import
android.os.Bundle
...
...
app/src/main/java/com/example/elbuenopeso/ui/
dashboard
/MarketViewModel.kt
→
app/src/main/java/com/example/elbuenopeso/ui/
market
/MarketViewModel.kt
View file @
ca5a92dd
package
com.example.elbuenopeso.ui.
dashboard
package
com.example.elbuenopeso.ui.
market
import
androidx.lifecycle.LiveData
import
androidx.lifecycle.MutableLiveData
...
...
@@ -7,7 +7,7 @@ import androidx.lifecycle.ViewModel
class
MarketViewModel
:
ViewModel
()
{
private
val
_text
=
MutableLiveData
<
String
>().
apply
{
value
=
"This is
dashboard
Fragment"
value
=
"This is
market
Fragment"
}
val
text
:
LiveData
<
String
>
=
_text
}
\ No newline at end of file
app/src/main/res/layout/fragment_market.xml
View file @
ca5a92dd
...
...
@@ -4,7 +4,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".ui.
dashboard
.MarketFragment"
>
tools:context=
".ui.
market
.MarketFragment"
>
<ListView
android:id=
"@+id/listView"
...
...
app/src/main/res/navigation/mobile_navigation.xml
View file @
ca5a92dd
...
...
@@ -13,7 +13,7 @@
<fragment
android:id=
"@+id/navigation_dashboard"
android:name=
"com.example.elbuenopeso.ui.
dashboard
.MarketFragment"
android:name=
"com.example.elbuenopeso.ui.
market
.MarketFragment"
android:label=
"@string/title_dashboard"
tools:layout=
"@layout/fragment_market"
/>
...
...
app/src/main/res/values/strings.xml
View file @
ca5a92dd
<resources>
<string
name=
"app_name"
>
ElBuenoPeso
</string>
<string
name=
"title_home"
>
Home
</string>
<string
name=
"title_dashboard"
>
Dashboard
</string>
<string
name=
"title_notifications"
>
Notifications
</string>
<string
name=
"title_dashboard"
>
Market
</string>
<string
name=
"title_notifications"
>
Publication
</string>
<string
name=
"todo"
>
TODO
</string>
<string
name=
"address"
>
Address
</string>
<string
name=
"send"
>
Send
</string>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment