mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Remove FIXMEs in PlaceRenderer
This commit is contained in:
parent
d6e848b32e
commit
29ccd5826c
1 changed files with 0 additions and 4 deletions
|
|
@ -121,14 +121,12 @@ public class PlaceRenderer extends Renderer<Place> {
|
|||
}
|
||||
|
||||
private void storeSharedPrefs() {
|
||||
//FIXME: This line crashes on list, but not on map
|
||||
SharedPreferences.Editor editor = directPrefs.edit();
|
||||
Timber.d("directPrefs stored");
|
||||
editor.putString("Title", place.getName());
|
||||
editor.putString("Desc", place.getLongDescription());
|
||||
editor.putString("Category", place.getCategory());
|
||||
editor.apply();
|
||||
|
||||
}
|
||||
|
||||
private void closeLayout(LinearLayout buttonLayout){
|
||||
|
|
@ -141,10 +139,8 @@ public class PlaceRenderer extends Renderer<Place> {
|
|||
|
||||
@Override
|
||||
public void render() {
|
||||
//FIXME: injector() method has been removed from CommonsApplication.java
|
||||
ApplicationlessInjection.getInstance(getContext().getApplicationContext())
|
||||
.getCommonsApplicationComponent().inject(this);
|
||||
//((CommonsApplication) getContext().getApplicationContext()).injector().inject(this);
|
||||
place = getContent();
|
||||
tvName.setText(place.name);
|
||||
String descriptionText = place.getLongDescription();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue