This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
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
Lyla
committed
Mar 4, 2015
1 parent
ea6e195
commit 370d9bf
Showing
2 changed files
with
6 additions
and
7 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
370d9bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been comparing my code to these commits but have yet to figure out why I get this minor error, despite error the app does run with dummy data, can someone give some guidance? Thank You.
370d9bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lauriewu1 is your ForecastFragment
public static
?370d9bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elmargomez
I even copied the code from the commit(for main activity, forecastfragment java and xml) to IDE I still get that red text over ForecastFragments.
370d9bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lauriewu1 try adding static.
370d9bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elmargomez tried, IDE is giving me error messages, doesn't allow it.
370d9bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elmargomez Thanks, I actually just figured out from another source, just had to remove $ForecastFragment. It actually doesn't affect code logic.
370d9bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually yes it does not really affect anything. The
tools
is only used for mocking values, which it has nothing todo with the build output :) , I thought you really want to learn about it that’s why I am concern on the error.