diff --git a/app/app.iml b/app/app.iml index 9660ac1f9..2c252219f 100644 --- a/app/app.iml +++ b/app/app.iml @@ -125,8 +125,8 @@ - + diff --git a/app/src/main/java/ca/appvelopers/mcgillmobile/ui/settings/AboutActivity.java b/app/src/main/java/ca/appvelopers/mcgillmobile/ui/settings/AboutActivity.java index 4d34b069f..f643e16f1 100644 --- a/app/src/main/java/ca/appvelopers/mcgillmobile/ui/settings/AboutActivity.java +++ b/app/src/main/java/ca/appvelopers/mcgillmobile/ui/settings/AboutActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2015 Appvelopers + * Copyright 2014-2016 Appvelopers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,6 +46,11 @@ * @since 1.0.0 */ public class AboutActivity extends BaseActivity { + /** + * The list view + */ + @Bind(android.R.id.list) + protected RecyclerView mList; /** * The list of people */ @@ -54,9 +59,9 @@ public class AboutActivity extends BaseActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_about); - Analytics.getInstance().sendScreen("About"); - + ButterKnife.bind(this); setUpToolbar(true); + Analytics.getInstance().sendScreen("About"); mPeople = new ArrayList<>(); //Adnan @@ -117,9 +122,8 @@ public void onCreate(Bundle savedInstanceState) { getString(R.string.about_yulric_linkedin), getString(R.string.about_yulric_email))); //Set up the list - RecyclerView listView = (RecyclerView)findViewById(android.R.id.list); - listView.setLayoutManager(new LinearLayoutManager(this)); - listView.setAdapter(new PersonAdapter()); + mList.setLayoutManager(new LinearLayoutManager(this)); + mList.setAdapter(new PersonAdapter()); } /**