Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
Weather
Manage
Activity
Members
Labels
Plan
Custom issue tracker
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
BeoCode
Weather
Commits
8ff9a687
Verified
Commit
8ff9a687
authored
2 years ago
by
Beowulf
Browse files
Options
Downloads
Patches
Plain Diff
make DecimalFormat private
parent
480bf31c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/de/beowulf/wetter/adapter/GraphAdapter.kt
+1
-1
1 addition, 1 deletion
app/src/main/java/de/beowulf/wetter/adapter/GraphAdapter.kt
with
1 addition
and
1 deletion
app/src/main/java/de/beowulf/wetter/adapter/GraphAdapter.kt
+
1
−
1
View file @
8ff9a687
...
...
@@ -30,7 +30,7 @@ class TempGraphAdapter(context: Context, attributeSet: AttributeSet) : View(cont
private
val
dm
=
resources
.
displayMetrics
private
val
radius
=
TypedValue
.
applyDimension
(
TypedValue
.
COMPLEX_UNIT_SP
,
5f
,
dm
)
private
var
rainUnit
=
""
val
df
=
DecimalFormat
(
"#.#"
)
private
val
df
=
DecimalFormat
(
"#.#"
)
private
val
dataPointPaint
=
Paint
().
apply
{
context
.
theme
.
resolveAttribute
(
R
.
attr
.
colorAccent
,
typedValue
,
true
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment