Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.24 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.24 KB

Facts-App

Android app built using Jetpack Compsoe for displaying facts.


Contributing

Detailed instructions can be found in the Contributing file.

  • Clone the repository
    git clone https://github.com/dscmbcet/Facts-App
  • Open the Datasource.kt file.
  • Add in your fact data in the below format
    Fact(
          info = "This is an example of a fact " + 
              "having multiple lines.",
          source = "r/funfacts",
          imageId = R.drawable.yourFileName,
          type = FactType.FUN,
          submittedBy = "yourName"
      )
  • Open a pull request to this repository.

Image should be uploaded on the res/drawable folder, and the imageId would be R.drawable.yourFileName.

Available fact types:
- FUN,
- INTERESTING
- SCIENCE
- NATURE
- TECH
- MISC


Screenshots


Contributors

Contributors