title: How to download data in CursorLoader if getSupportLoader() is not working?
body: <p>I want to create CursorLoader for downloading data not in main thread. For displaying data I use <code>ListView</code> and <code>CursorAdapter</code>. But when I set adapter using <code>getSupportLoaderManager()</code>(because <code>getLoaderManager()</code> is not working) <code>ListView</code> stays empty. Maybe, it's because this method is deprecated?   But what I should use instead of it?<br>
  I will be thankful for any help.<br>
  P.S. It's working when I download data without <code>CursorLoader</code>.</p>
  
  <p>My code in <code>OnCreate()</code> :</p>
  
  <pre><code>memberCursorAdapter = new MemberCursorAdapter(this, null, false);
  listViewMembers.setAdapter(memberCursorAdapter);
  getSupportLoaderManager().initLoader(MEMBER_LOADER, null, MainActivity.this);
  </code></pre>
  
  <p>Methods for CursorLoader</p>
  
  <pre><code>    @NonNull
      @Override
      public Loader&lt;Cursor&gt; onCreateLoader(int id, @Nullable Bundle args) {
          String projection[] = {
                  MemberEntry._ID,
                  MemberEntry.KEY_FIRST_NAME,
                  MemberEntry.KEY_LAST_NAME,
                  MemberEntry.KEY_GENDER,
                  MemberEntry.KEY_SPORT
          };
          CursorLoader cursorLoader = new CursorLoader(this, MemberEntry.CONTENT_URI,
                  projection, null, null, null);
          return cursorLoader;
      }
      @Override
      public void onLoadFinished(@NonNull Loader&lt;Cursor&gt; loader, Cursor data) {
          memberCursorAdapter.swapCursor(cursor);
      }
      @Override
      public void onLoaderReset(@NonNull Loader&lt;Cursor&gt; loader) {
          memberCursorAdapter.swapCursor(null);
      }
  </code></pre>