在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:venshine/GoodView开源软件地址:https://github.com/venshine/GoodView开源编程语言:Java 100.0%开源软件介绍:GoodViewAndroid点赞+1效果,支持文本和图像 ScreenShotUsageGradle:compile 'com.wx.goodview:goodview:1.0.0' DemoJava: public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main)
final GoodView goodView = new GoodView(this);
Button button = new Button(this);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
goodView.setText("+1");
goodView.show(v);
}
});
}
} Methods:
About
License
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论