Skip to content

Commit

Permalink
Code Cleanup
Browse files Browse the repository at this point in the history
*Run code cleanup to remove unnecessary casts in v26.
  • Loading branch information
rayliverified committed Oct 5, 2017
1 parent 5585572 commit a809a24
Show file tree
Hide file tree
Showing 4 changed files with 1,229 additions and 1,235 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ public void onCreate(Bundle savedInstanceState) {
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

View rootView = inflater.inflate(R.layout.fragment_permissions, container, false);
mFrameLayout = (FrameLayout) rootView.findViewById(R.id.intro_layout);
mButton1 = (CustomButton) rootView.findViewById(R.id.btn_1);
mButton2 = (CustomButton) rootView.findViewById(R.id.btn_2);
mButton3 = (CustomButton) rootView.findViewById(R.id.btn_3);
mButton4 = (CustomButton) rootView.findViewById(R.id.btn_4);
mButton5 = (CustomButton) rootView.findViewById(R.id.btn_5);
mButton6 = (CustomButton) rootView.findViewById(R.id.btn_6);
mFrameLayout = rootView.findViewById(R.id.intro_layout);
mButton1 = rootView.findViewById(R.id.btn_1);
mButton2 = rootView.findViewById(R.id.btn_2);
mButton3 = rootView.findViewById(R.id.btn_3);
mButton4 = rootView.findViewById(R.id.btn_4);
mButton5 = rootView.findViewById(R.id.btn_5);
mButton6 = rootView.findViewById(R.id.btn_6);
mButton1.setOnClickListener(this);
mButton2.setOnClickListener(this);
mButton3.setOnClickListener(this);
Expand Down
2 changes: 1 addition & 1 deletion custompermissionsdialogue/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
}
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:26.0.2'
compile 'com.github.searchy2:CustomButton:1.2'
compile 'com.github.searchy2:CustomButton:1.3'

compile 'com.android.support:design:26.0.2'
compile 'com.android.support:support-vector-drawable:26.0.2'
Expand Down
Loading

0 comments on commit a809a24

Please sign in to comment.