MCPcopy Create free account
hub / github.com/afkT/DevUtils / getId

Method getId

lib/DevApp/src/main/java/dev/utils/app/ViewUtils.java:146–149  ·  view source on GitHub ↗

获取 View Id @param view View @return View Id

(final View view)

Source from the content-addressed store, hash-verified

144 * @return View Id
145 */
146 public static int getId(final View view) {
147 if (view != null) return view.getId();
148 return View.NO_ID;
149 }
150
151 /**
152 * 设置 View Id

Callers 9

onClickMethod · 0.45
onClickMethod · 0.45
onClickMethod · 0.45
setNavBarVisibilityMethod · 0.45
isNavBarVisibleMethod · 0.45
popAllMethod · 0.45
getArgsMethod · 0.45
getContentViewMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected