Skip to content

Commit

Permalink
fromXml inflater, make it static
Browse files Browse the repository at this point in the history
  • Loading branch information
pavly-gerges committed Jul 20, 2021
1 parent a8ddbc2 commit 29fc65f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public boolean detachUiManager(){
* @return a view fetched from that layout resource xml file.
* @see UiStateManager#attachUiState(View).
*/
public View fromXML(@LayoutRes int resId, Context context){
public static View fromXML(@LayoutRes int resId, Context context){
return LayoutInflater.from(context).inflate(resId, null);
}
/**
Expand Down

0 comments on commit 29fc65f

Please sign in to comment.