mirror of
https://github.com/status-im/syng-client.git
synced 2025-02-22 07:58:17 +00:00
Updated to new sdk, build tool and gradle plugin version
This commit is contained in:
parent
256f03abf4
commit
588ffe72a6
@ -1,13 +1,13 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion "22.0.1"
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion "23"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "io.syng"
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 22
|
||||
targetSdkVersion 23
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
multiDexEnabled true
|
||||
|
@ -77,8 +77,6 @@ public abstract class BaseActivity extends AppCompatActivity implements
|
||||
private ActionBarDrawerToggle mDrawerToggle;
|
||||
|
||||
private EditText mSearchTextView;
|
||||
private RecyclerView mDAppsRecyclerView;
|
||||
private RecyclerView mProfilesRecyclerView;
|
||||
private DrawerLayout mDrawerLayout;
|
||||
|
||||
private ProfileDrawerAdapter mProfileDrawerAdapter;
|
||||
@ -141,20 +139,20 @@ public abstract class BaseActivity extends AppCompatActivity implements
|
||||
mFrontView = findViewById(R.id.ll_front_view);
|
||||
mBackView = findViewById(R.id.ll_back_view);
|
||||
|
||||
mProfilesRecyclerView = (RecyclerView) findViewById(R.id.profile_drawer_recycler_view);
|
||||
RecyclerView profilesRecyclerView = (RecyclerView) findViewById(R.id.profile_drawer_recycler_view);
|
||||
RecyclerView.LayoutManager layoutManager2 = new LinearLayoutManager(this);
|
||||
mProfilesRecyclerView.setLayoutManager(layoutManager2);
|
||||
profilesRecyclerView.setLayoutManager(layoutManager2);
|
||||
mProfileDrawerAdapter = new ProfileDrawerAdapter(this, new ArrayList<Profile>(), this);
|
||||
mProfilesRecyclerView.setAdapter(mProfileDrawerAdapter);
|
||||
profilesRecyclerView.setAdapter(mProfileDrawerAdapter);
|
||||
updateCurrentProfileName();
|
||||
populateProfiles();
|
||||
|
||||
mDAppsRecyclerView = (RecyclerView) findViewById(R.id.dapp_drawer_recycler_view);
|
||||
mDAppsRecyclerView.setHasFixedSize(true);
|
||||
RecyclerView DAppsRecyclerView = (RecyclerView) findViewById(R.id.dapp_drawer_recycler_view);
|
||||
DAppsRecyclerView.setHasFixedSize(true);
|
||||
RecyclerView.LayoutManager layoutManager1 = new LinearLayoutManager(this);
|
||||
mDAppsRecyclerView.setLayoutManager(layoutManager1);
|
||||
DAppsRecyclerView.setLayoutManager(layoutManager1);
|
||||
mDAppsDrawerAdapter = new DAppDrawerAdapter(new ArrayList<Dapp>(), this);
|
||||
mDAppsRecyclerView.setAdapter(mDAppsDrawerAdapter);
|
||||
DAppsRecyclerView.setAdapter(mDAppsDrawerAdapter);
|
||||
populateDApps();
|
||||
|
||||
mHeaderImageView = (ImageView) findViewById(R.id.iv_header);
|
||||
|
@ -5,7 +5,7 @@ buildscript {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:1.2.3'
|
||||
classpath 'com.android.tools.build:gradle:1.3.0'
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user