From 1e8bd72692033f654d7467686037f612170cd1ec Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Mon, 7 Dec 2015 11:38:11 +0200 Subject: [PATCH] Live updates fragment in progress --- .../net/osmand/plus/LiveUpdates/LiveUpdatesFragment.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/LiveUpdates/LiveUpdatesFragment.java b/OsmAnd/src/net/osmand/plus/LiveUpdates/LiveUpdatesFragment.java index a890c9f7d0..2cb2d470ba 100644 --- a/OsmAnd/src/net/osmand/plus/LiveUpdates/LiveUpdatesFragment.java +++ b/OsmAnd/src/net/osmand/plus/LiveUpdates/LiveUpdatesFragment.java @@ -6,6 +6,7 @@ import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; +import android.widget.ListView; import net.osmand.plus.R; @@ -25,7 +26,10 @@ public class LiveUpdatesFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { - return inflater.inflate(R.layout.fragment_live_updates, container, false); + final View view = inflater.inflate(R.layout.fragment_live_updates, container, false); + ListView listView = (ListView) view.findViewById(android.R.id.list); + return view; } + }