Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uv-amse-android
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
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
Lucas NAURY
uv-amse-android
Commits
182d2f13
Commit
182d2f13
authored
Feb 21, 2024
by
Inès EL HADRI
💤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add price in recycler
parent
4e3cc9d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
HomeAdapter.java
...ain/java/com/example/tpleboncoin/ui/home/HomeAdapter.java
+1
-0
No files found.
app/src/main/java/com/example/tpleboncoin/ui/home/HomeAdapter.java
View file @
182d2f13
...
...
@@ -101,6 +101,7 @@ public class HomeAdapter extends RecyclerView.Adapter<HomeAdapter.ViewHolder> {
// with that element
viewHolder
.
getTitreTextView
().
setText
(
mDataSet
.
get
(
position
).
getTitre
());
viewHolder
.
getAdresseTextView
().
setText
(
mDataSet
.
get
(
position
).
getAdresse
());
viewHolder
.
getPrixTextView
().
setText
(
String
.
format
(
"%,.2f €"
,
mDataSet
.
get
(
position
).
getPrix
()));
}
// Return the size of dataset (invoked by the layout manager)
...
...
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