At a felony defendant's first appearance before a court, the court shall advise him or her of the right to court-appointed counsel if he or she is indigent.
If he or she asserts indigency, the court shall make a reasonable inquiry to determine his or her financial condition and may require him or her to execute an affidavit of indigency. If the court determines him or her to be indigent, it shall formally appoint the public defender to represent him or her in all proceedings before the court and shall make a notation of such appointment and appearances of the public defender upon the felony complaint. The same procedure shall be followed by the court in misdemeanor cases punishable by imprisonment.
Neb. Rev. Stat. §§ 29-3902