Commit ca5a92dd authored by Alutulu's avatar Alutulu

rename things

parent 2d5ea4ce
...@@ -7,7 +7,6 @@ import android.widget.ImageView ...@@ -7,7 +7,6 @@ import android.widget.ImageView
import android.widget.TextView import android.widget.TextView
import com.example.elbuenopeso.R import com.example.elbuenopeso.R
import com.example.elbuenopeso.models.AdModel import com.example.elbuenopeso.models.AdModel
import com.example.elbuenopeso.ui.dashboard.MarketFragment
import java.math.RoundingMode import java.math.RoundingMode
......
package com.example.elbuenopeso.ui.dashboard package com.example.elbuenopeso.ui.market
import AdAdapter import AdAdapter
import android.os.Bundle import android.os.Bundle
......
package com.example.elbuenopeso.ui.dashboard package com.example.elbuenopeso.ui.market
import androidx.lifecycle.LiveData import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData import androidx.lifecycle.MutableLiveData
...@@ -7,7 +7,7 @@ import androidx.lifecycle.ViewModel ...@@ -7,7 +7,7 @@ import androidx.lifecycle.ViewModel
class MarketViewModel : ViewModel() { class MarketViewModel : ViewModel() {
private val _text = MutableLiveData<String>().apply { private val _text = MutableLiveData<String>().apply {
value = "This is dashboard Fragment" value = "This is market Fragment"
} }
val text: LiveData<String> = _text val text: LiveData<String> = _text
} }
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".ui.dashboard.MarketFragment"> tools:context=".ui.market.MarketFragment">
<ListView <ListView
android:id="@+id/listView" android:id="@+id/listView"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<fragment <fragment
android:id="@+id/navigation_dashboard" 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" android:label="@string/title_dashboard"
tools:layout="@layout/fragment_market" /> tools:layout="@layout/fragment_market" />
......
<resources> <resources>
<string name="app_name">ElBuenoPeso</string> <string name="app_name">ElBuenoPeso</string>
<string name="title_home">Home</string> <string name="title_home">Home</string>
<string name="title_dashboard">Dashboard</string> <string name="title_dashboard">Market</string>
<string name="title_notifications">Notifications</string> <string name="title_notifications">Publication</string>
<string name="todo">TODO</string> <string name="todo">TODO</string>
<string name="address">Address</string> <string name="address">Address</string>
<string name="send">Send</string> <string name="send">Send</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment