mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
now works for initial opening and browsing down once
This commit is contained in:
parent
bfea14e876
commit
5b6bde5efc
1 changed files with 9 additions and 1 deletions
|
@ -43,6 +43,7 @@ import android.support.v4.widget.DrawerLayout;
|
|||
import android.support.v7.app.ActionBar;
|
||||
import android.support.v7.app.ActionBarDrawerToggle;
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.ListView;
|
||||
|
@ -411,12 +412,19 @@ public class FileActivity extends AppCompatActivity
|
|||
}
|
||||
};
|
||||
|
||||
mDrawerToggle.setToolbarNavigationClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Log.i("IT WORKS :)","");
|
||||
}
|
||||
});
|
||||
|
||||
// Set the list's click listener
|
||||
mDrawerList.setOnItemClickListener(new DrawerItemClickListener());
|
||||
|
||||
// Set the drawer toggle as the DrawerListener
|
||||
mDrawerLayout.setDrawerListener(mDrawerToggle);
|
||||
|
||||
mDrawerToggle.setDrawerIndicatorEnabled(false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue