This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SearchResultsActivity extends BaseActivity implements ViewHolderResponder { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_search); | |
mLayoutManager = new LinearLayoutManager(getApplicationContext()); | |
mRecyclerView.setLayoutManager(mLayoutManager); | |
View emptyView = new View(this); | |
mAdapter = new SearchResultsAdapter(emptyView, new WeakReference<ViewHolderResponder>(this)); |