title: Trying to display an arraylist<string> on a widget listview
body: <p>So here i am loading my array from a sharedpreferences file then making an adapter and trying to set it to my widgetlistview list.  I don't understand how i use the adapter i made (ListAdapter) considering setRemoteAdapter doesn't receive the adapter like it does in the main app activity.  I'm fairly new to android so i'm sure i missed something obvious can anyone help me out?</p>
  
  <pre><code>sharedprefs = context.getSharedPreferences(filename,0);
  Index = sharedprefs.getInt("index", -1);
  
  for (int IndexNum = 0; IndexNum &lt; Index; IndexNum++){
      LoadList(IndexNum);
  }
  
  ArrayAdapter&lt;String&gt; ListAdapter = new ArrayAdapter&lt;&gt;(context,R.layout.app_list_item, R.id.editdoublelistview_content,NicknamesW);
  final RemoteViews v = new RemoteViews(context.getPackageName(),R.layout.widget);
  v.setRemoteAdapter(R.id.WidgetListView,svcIntent);
  </code></pre>