android日常整理

  • 概述
  • Could not find method nextPageView in a parent or ancestor Context for androidonClick attribute
  • 局部变量转换为成员变量

概述

主要用于日常开发遇到的问题整理。

Could not find method nextPage(View) in a parent or ancestor Context for android:onClick attribute

2016.7.27
onClick属性对应的方法应该是public的。

局部变量转换为成员变量

ctrl + alt+ f

你可能感兴趣的:(日常)