W sensie ze trzymajmy sie anonimowych :)


2014-04-18 12:46 GMT+02:00 Rafal <notifications@github.com>:

> In src/com/blstream/myguide/BottomAnimalFragment.java:
>
> > +		setAllValues(getArguments());
> > +		mRootView.setOnClickListener(new BottomAnimalOnClickListener());
> > +
> > +		return mRootView;
> > +	}
> > +
> > +	private void setAllValues(Bundle data) {
> > +		AnimalDistance animal = (AnimalDistance) data
> > +				.getSerializable(BundleConstants.CLOSEST_ANIMAL);
> > +		mAnimalName.setText(animal.getAnimal().getName());
> > +		mAnimalFunfact.setText(animal.getAnimal().getDescriptionAdult()
> > +				.getText());
> > +		mDistance.setText(Integer.toString(animal.getDistance())+" m");
> > +	}
> > +
> > +	private class BottomAnimalOnClickListener implements OnClickListener {
>
> @SwiatekSb <https://github.com/SwiatekSb>
> Czyli takie listenery są w porządku?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/blstream/MyGuide/pull/89/files#r11768818>
> .
>