-
-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix typos #3811
Fix typos #3811
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,7 +158,7 @@ | |
} | ||
} | ||
|
||
public CharSequence gettitle() { | ||
public CharSequence getTitle() { | ||
Check notice Code scanning / Android Lint Unknown nullness Note
Unknown nullability; explicitly declare as @Nullable or @NonNull to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations
|
||
if (binding.title == null) { | ||
return null; | ||
} | ||
|
@@ -212,7 +212,7 @@ | |
} | ||
|
||
private void setTextMaxLines() { | ||
if (TextUtils.isEmpty(gettitle())) { | ||
if (TextUtils.isEmpty(getTitle())) { | ||
binding.contentText.setMaxLines(2); | ||
} else { | ||
binding.contentText.setMaxLines(1); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,7 +204,7 @@ | |
} | ||
|
||
// this makes focus movements more predictable for the grid view | ||
public static void setFocusParms(LinearLayout currentRow, LinearLayout otherRow, boolean up) { | ||
public static void setFocusParams(LinearLayout currentRow, LinearLayout otherRow, boolean up) { | ||
Check notice Code scanning / Android Lint Unknown nullness Note
Unknown nullability; explicitly declare as @Nullable or @NonNull to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations
Check notice Code scanning / Android Lint Unknown nullness Note
Unknown nullability; explicitly declare as @Nullable or @NonNull to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations
|
||
for (int currentRowNdx = 0; currentRowNdx < currentRow.getChildCount(); currentRowNdx++) { | ||
ProgramGridCell cell = (ProgramGridCell) currentRow.getChildAt(currentRowNdx); | ||
ProgramGridCell otherCell = getOtherCell(otherRow, cell); | ||
|
Check warning
Code scanning / detekt
Line detected, which is longer than the defined maximum line length in the code style. Warning