Back to project page android-listview-custom-view.
The source code is released under:
MIT License
If you think the Android project android-listview-custom-view listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bignerdranch.android.listitemviewdemo; /*from w w w . j a va 2 s. c o m*/ import android.os.Bundle; import android.support.v4.app.FragmentActivity; import com.android.debug.hv.ViewServer; public class ListActivity extends FragmentActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_list); if (BuildConfig.DEBUG) ViewServer.get(this).addWindow(this); } @Override protected void onDestroy() { super.onDestroy(); if (BuildConfig.DEBUG) ViewServer.get(this).removeWindow(this); } @Override protected void onResume() { super.onResume(); if (BuildConfig.DEBUG) ViewServer.get(this).setFocusedWindow(this); } }