Close some Cursors and call super.onFinishInflate().
Android Studio gave these warnings, and they seem like good ideas. Change-Id: I9a4d3997fd18e86e007e4511e1ac9e8a75509265
This commit is contained in:
@@ -45,6 +45,7 @@ public class PageIndicatorMarker extends FrameLayout {
|
||||
}
|
||||
|
||||
protected void onFinishInflate() {
|
||||
super.onFinishInflate();
|
||||
mActiveMarker = (ImageView) findViewById(R.id.active);
|
||||
mInactiveMarker = (ImageView) findViewById(R.id.inactive);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user