Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse pantry JSON data into objects and store in list #3

Merged
Prev Previous commit
Next Next commit
Remove unneceessary comments
  • Loading branch information
robert-w-gries committed Nov 6, 2018
commit 9e3ac37964778b607509de27f04ceefa32051727
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ import org.endhungerdurham.pantries.ItemsFragment.OnListFragmentInteractionListe

import kotlinx.android.synthetic.main.fragment_item.view.*

/**
* [RecyclerView.Adapter] that can display a [DummyItem] and makes a call to the
* specified [OnListFragmentInteractionListener].
* TODO: Replace the implementation with code for your data type.
*/
class MyItemRecyclerViewAdapter(
private val mValues: List<Pantry>,
private val mListener: OnListFragmentInteractionListener?)
Expand Down
3 changes: 0 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
<string name="pantries">Pantries</string>
<string name="map">Map</string>
<string name="pantries_json_url">https://raw.githubusercontent.com/end-hunger-durham/data-importer/master/pantries.json</string>

<!-- TODO: Remove or change this placeholder text -->
<string name="hello_map_fragment">Hello map fragment</string>
</resources>