Skip to content

Instantly share code, notes, and snippets.

A refreshing and contemporary engineer.

Ashok Kumar S ashokslsk

A refreshing and contemporary engineer.
Block or report user

Report or block ashokslsk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MainActivity
public class MainActivity extends AppCompatActivity {
RecyclerView recyclerView;
protected void onCreate(Bundle savedInstanceState) {
recyclerView = (RecyclerView) findViewById(;
RecyclerAdapter adapter = new RecyclerAdapter(this);
ashokslsk / Shortcuts
Created Feb 8, 2016
Android Studio Useful shortcuts.
View Shortcuts
Android Studio Notes
Android Studio keyboard shortcuts I use often.
## Keyboard Shortcuts for Mac
* `SHIFT + F6` to refactor methods, classes, and variable names
* `CTRL + O` to override methods
* Generate getter, setter, and constructor method for a class (when in editor pane)
View CollapseAndExpandActivity
Step 1:
// view_header_layout
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android=""
You can’t perform that action at this time.